Branch Coverage

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


line true false branch
60 0 0 if ref $class
63 0 0 unless $self->is_obj($pdf)
102 0 0 if (not defined $rc or $rc != 3)
107 0 0 if ($in =~ /^P([123456])\s/) { }
109 0 0 if ($info{'type'} > 3) { }
115 0 0 if ($info{'type'} == 1 or $info{'type'} == 4) { }
0 0 elsif ($info{'type'} == 2 or $info{'type'} == 5) { }
126 0 0 if (not defined $rc or $rc != 1)
138 0 0 if ($info{'bgp'} eq 'b') { }
139 0 0 if ($no_comments =~ /^P\d\s+(\d+)\s+(\d+)\s/)
145 0 0 if ($no_comments =~ /^P\d\s+(\d+)\s+(\d+)\s+(\d+)\s/)
173 0 0 if ($$info{'type'} == 4) { }
0 0 elsif ($$info{'type'} == 5) { }
0 0 elsif ($$info{'type'} == 6) { }
180 0 0 if ($$info{'max'} == 255) { }
186 0 0 if ($s > 0) { }
196 0 0 if ($$info{'max'} == 255) { }
202 0 0 if ($s > 0) { }