Branch Coverage

blib/lib/HTML/FromANSI.pm
Criterion Covered Total %
branch 22 36 61.1


line true false branch
226 0 3 if (@args == 1 and reftype($args[0]) eq 'HASH') { }
3 0 elsif (@args % 2 == 0) { }
236 116 1 if (blessed($_[0]) and $_[0]->isa('HTML::FromANSI')) { }
258 0 3 if ($class ne 'Term::VT102::Boundless')
263 0 3 defined $$self{'rows'} ? :
294 4 0 if (length $$self{'font_face'} or length $$self{'style'})
299 4 0 if $$self{'tt'}
320 0 4 if ($row_num == $total_rows and $total_rows != ($$self{'rows'} || 0) and $row =~ /^[\s\x00]*$/s and not $$self{'show_cursor'})
332 4 108 if ($y == $row_num and $x == $col_num + 1 and $$self{'show_cursor'}) { }
0 108 elsif ($text eq "\000") { }
335 0 4 if $text eq '\\000'
338 0 0 unless $$self{'fill_cols'}
341 0 93 $$self{'html_entity'} ? :
19 93 $text eq ' ' || $text eq "\000" ? :
365 104 8 if %{$prev;} and not scalar grep({$$_[0] ne $$_[1];} map({[$$prev{$_}, $$this{$_}];} keys %{$this;}))
372 0 8 if $rv
374 4 4 if %{$prev;}
378 0 8 if $ul