Branch Coverage

blib/lib/PDF/Builder/Resource/XObject/Image/TIFF.pm
Criterion Covered Total %
branch 14 36 38.8


line true false branch
61 0 3 if ref $class
64 0 3 unless $self->is_obj($pdf)
99 0 2 if ($tif->{'filter'}) { }
108 0 2 if (ref $tif->{'imageOffset'}) { }
130 0 0 if (ref $tif->{'imageOffset'}) { }
161 0 1 if (defined $tif->{'Predictor'} and $tif->{'Predictor'} > 1)
165 0 1 if (ref $tif->{'imageOffset'}) { }
192 0 0 $tif->{'ccitt'} == 4 || ($tif->{'g3Options'} || 0) & 1 ? :
196 0 0 ($tif->{'whiteIsZero'} || 0) == 0 ? :
197 0 0 if (defined $tif->{'g3Options'} and $tif->{'g3Options'} & 4)
204 0 0 if (ref $tif->{'imageOffset'}) { }
219 0 3 if ($tif->{'colorSpace'} eq 'Indexed') { }
245 1 2 if (($tif->{'whiteIsZero'} || 0) == 1 and ($tif->{'filter'} || '') ne 'CCITTFaxDecode')
251 0 3 if (defined $tif->{'filter'} and $tif->{'filter'} eq 'CCITTFaxDecode') { }
1 2 elsif (defined $tif->{'filter'} and $tif->{'filter'} eq 'LZWDecode') { }
0 2 elsif (defined $tif->{'filter'} and $tif->{'filter'} eq 'FlateDecode') { }
274 0 3 if ($tif->{'fillOrder'} == 2)
281 0 0 if ($b & 1)