Condition Coverage

blib/lib/PDF/Builder/Resource/XObject/Image/PNM.pm
Criterion Covered Total %
condition 6 39 15.3


and 3 conditions

line !l l&&!r l&&r condition
210 2 0 0 $count == 0 and !$qflag || $in_comment
252 0 0 0 $qflag and not $in_comment
359 0 0 0 $row == $h - 1 and $col == $w - 1
369 0 0 0 $sample ne '0' and $sample ne '1'

or 3 conditions

line l !l&&r !l&&!r condition
54 0 3 0 $name || 'Nx' . pdfkey()
99 0 0 2 $info{'type'} == 1 or $info{'type'} == 4
0 0 2 $info{'type'} == 2 or $info{'type'} == 5
161 0 0 2 $max < 1 or $max > 65535
210 0 0 0 !$qflag || $in_comment
396 0 0 0 $max == 255 or $max == 65535
440 0 0 0 $max == 255 or $max == 65535
503 0 0 0 $max == 255 or $max == 65535
543 2 0 0 $max == 255 or $max == 65535