Branch Coverage

blib/lib/App/news.pm
Criterion Covered Total %
branch 17 22 77.2


line true false branch
81 1 0 if ($buffer and $new_prefix ne $prefix || $no_wrap)
88 11 3 if ($no_wrap)
93 0 3 if $buffer
99 2 0 if (substr($buffer, 0, ($max - length($prefix) + 1)) =~ /(\s+(\S+))\S$/u) { }
111 2 2 if $buffer
132 6 0 unless $closed
153 0 9 unless @_
158 11 6 if ($n == $curr + 1) { }
3 3 elsif ($last == $curr) { }
168 5 4 if ($curr > $last) { }
178 7 6 if (ref $_) { }