Condition Coverage

blib/lib/Khonsu/Text.pm
Criterion Covered Total %
condition 16 19 84.2


and 2 conditions

line l !l condition
112 2 1658 not $self->overflow and scalar @paragraphs

and 3 conditions

line !l l&&!r l&&r condition
60 573 2162 1920 $ypos - $pos{'l'} >= $max_height and scalar @paragraphs || scalar @words
64 0 1627 33 not $next_line =~ /^\s+$/ and $next_line =~ /(\s+)$/
73 1354 1641 42469 $width <= $pos{'w'} and defined $word

or 2 conditions

line l !l condition
60 1660 2422 scalar @paragraphs || scalar @words

or 3 conditions

line l !l&&r !l&&!r condition
26 820 806 34 $attributes{'x'} or $attributes{'align'}
28 0 34 0 $attributes{'y'} || $file->page->y