Condition Coverage

blib/lib/HTML/FromANSI.pm
Criterion Covered Total %
condition 19 35 54.2


and 3 conditions

line !l l&&!r l&&r condition
226 3 0 0 @args == 1 and reftype($args[0]) eq 'HASH'
236 1 0 116 blessed($_[0]) and $_[0]->isa('HTML::FromANSI')
320 0 0 4 $row_num == $total_rows and $total_rows != ($$self{'rows'} || 0)
0 4 0 $row_num == $total_rows and $total_rows != ($$self{'rows'} || 0) and $row =~ /^[\s\x00]*$/s
4 0 0 $row_num == $total_rows and $total_rows != ($$self{'rows'} || 0) and $row =~ /^[\s\x00]*$/s and not $$self{'show_cursor'}
332 0 108 4 $y == $row_num and $x == $col_num + 1
108 0 4 $y == $row_num and $x == $col_num + 1 and $$self{'show_cursor'}
365 4 4 104 %{$prev;} and not scalar grep({$$_[0] ne $$_[1];} map({[$$prev{$_}, $$this{$_}];} keys %{$this;}))

or 2 conditions

line l !l condition
320 0 4 $$self{'rows'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
250 9 3 0 $$self{'terminal_object'} ||= $self->create_terminal_object(@args)
294 4 0 0 length $$self{'font_face'} or length $$self{'style'}
341 19 0 93 $text eq ' ' || $text eq "\000"