Condition Coverage

blib/lib/PDF/API2/Resource/XObject/Image/PNG.pm
Criterion Covered Total %
condition 16 39 41.0


and 3 conditions

line !l l&&!r l&&r condition
105 0 0 0 defined $trns and not $opts{'-notrans'}
123 0 0 0 defined $trns and not $opts{'-notrans'}
161 2 0 0 defined $trns and not $opts{'-notrans'}
259 2 0 0 $use_xs and $bpc == 8
2 0 0 $use_xs and $bpc == 8 and not $ENV{'PDFAPI2_PNG_PP'}
291 11196 740 82304 $pa <= $pb and $pa <= $pc
307 0 1 1 $file and not $ENV{'PDFAPI2_PNG_PP'}
323 2 0 0 $use_xs and $bpc == 8
2 0 0 $use_xs and $bpc == 8 and not $ENV{'PDFAPI2_PNG_PP'}

or 3 conditions

line l !l&&r !l&&!r condition
27 0 5 0 $name || 'Px' . pdfkey()
90 2 0 2 $bpc == 1 or $bpc == 2
2 0 2 $bpc == 1 or $bpc == 2 or $bpc == 4
0 2 0 $bpc == 1 or $bpc == 2 or $bpc == 4 or $bpc == 8