Branch Coverage

blib/lib/PDF/API3/Compat/API2/Resource/XObject/Image/PNG.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
60 0 0 if ref $class
63 0 0 unless $self->is_obj($pdf)
81 0 0 if ($buf eq 'IHDR') { }
0 0 elsif ($buf eq 'PLTE') { }
0 0 elsif ($buf eq 'IDAT') { }
0 0 elsif ($buf eq 'tRNS') { }
0 0 elsif ($buf eq 'IEND') { }
84 0 0 if $cm
85 0 0 if $im
86 0 0 if $fm
110 0 0 if ($cs == 0) { }
0 0 elsif ($cs == 2) { }
0 0 elsif ($cs == 3) { }
0 0 elsif ($cs == 4) { }
0 0 elsif ($cs == 6) { }
112 0 0 if ($bpc > 8) { }
124 0 0 if (defined $trns and not $opts{-'notrans'})
131 0 0 if ($bpc > 8) { }
143 0 0 if (defined $trns and not $opts{-'notrans'})
165 0 0 if ($bpc > 8) { }
182 0 0 if (defined $trns and not $opts{-'notrans'})
207 0 0 if ($bpc > 8) { }
221 0 0 unless ($opts{-'notrans'})
244 0 0 if ($bpc > 8) { }
258 0 0 unless ($opts{-'notrans'})
310 0 0 if ($pa <= $pb and $pa <= $pc) { }
0 0 elsif ($pb <= $pc) { }
331 0 0 if ($filter == 0) { }
0 0 elsif ($filter == 1) { }
0 0 elsif ($filter == 2) { }
0 0 elsif ($filter == 3) { }
0 0 elsif ($filter == 4) { }