Branch Coverage

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


line true false branch
74 1 0 if ($buffer and $new_prefix ne $prefix || $no_wrap)
81 11 3 if ($no_wrap)
86 0 3 if $buffer
92 2 0 if (substr($buffer, 0, $max - length($prefix) + 1) =~ /(\s+(\S+))\S$/u) { }
104 2 2 if $buffer
123 6 0 unless $closed
141 0 9 unless @_
146 11 6 if ($n == $curr + 1) { }
3 3 elsif ($last == $curr) { }
156 5 4 if ($curr > $last) { }
166 7 6 ref $_ ? :