Condition Coverage

blib/lib/PDF/Builder/Content/Text.pm
Criterion Covered Total %
condition 24 102 23.5


and 3 conditions

line !l l&&!r l&&r condition
235 0 0 0 $overage > 0 and $num_spaces > 0
0 0 0 $overage > 0 and $num_spaces > 0 and $condw > 0
243 0 0 0 $overage > 0 and $num_chars > 0
0 0 0 $overage > 0 and $num_chars > 0 and $condc > 0
255 0 0 4 $overage > 0 and $num_spaces > 0
0 0 4 $overage > 0 and $num_spaces > 0 and $wordsp > 0
263 3 0 1 $overage > 0 and $num_chars > 0
3 0 1 $overage > 0 and $num_chars > 0 and $charsp > 0
271 4 0 0 $overage > 0 and $num_spaces > 0
4 0 0 $overage > 0 and $num_spaces > 0 and $wordspa > 0
279 4 0 0 $overage > 0 and $num_chars > 0
4 0 0 $overage > 0 and $num_chars > 0 and $charspa > 0
405 7 0 13 $overflowed and not $over
406 13 0 0 $hyphenate and @line == 1
420 20 0 0 $hyphenate and $overflowed
560 0 0 10 defined $opts{'-spillover'} && $opts{'-spillover'} == 0
589 0 0 2 defined $opts{'-spillover'} && $opts{'-spillover'} == 0
613 0 0 2 defined $opts{'-spillover'} && $opts{'-spillover'} == 0
662 0 0 6 defined $opts{'-spillover'} && $opts{'-spillover'} == 0
789 20 0 0 $indent > 0 and $first_line
790 20 0 0 $indent < 0 and not $first_line
792 20 0 0 $lw < $width and $align eq 'l' || $align eq 'j'
897 2 4 0 length $para == 0 and $pvgap != 0
1034 0 0 0 defined $opts{'-right'} and $opts{'-right'}
0 0 0 defined $opts{'-align'} and $opts{'-align'} =~ /^r/i
0 0 0 defined $opts{'-center'} and $opts{'-center'}
0 0 0 defined $opts{'-align'} and $opts{'-align'} =~ /^c/i
0 0 0 defined $opts{'-left'} and $opts{'-left'}
0 0 0 defined $opts{'-align'} and $opts{'-align'} =~ /^l/i

or 3 conditions

line l !l&&r !l&&!r condition
406 0 13 0 $hyphenate and @line == 1 or @line > 1
792 0 0 0 $align eq 'l' || $align eq 'j'
1034 0 0 0 defined $opts{'-right'} and $opts{'-right'} or defined $opts{'-align'} and $opts{'-align'} =~ /^r/i
0 0 0 defined $opts{'-center'} and $opts{'-center'} or defined $opts{'-align'} and $opts{'-align'} =~ /^c/i
0 0 0 defined $opts{'-left'} and $opts{'-left'} or defined $opts{'-align'} and $opts{'-align'} =~ /^l/i