Condition Coverage

blib/lib/PDF/Builder/Resource/XObject/Image/TIFF.pm
Criterion Covered Total %
condition 12 30 40.0


and 3 conditions

line !l l&&!r l&&r condition
161 1 0 0 defined $tif->{'Predictor'} and $tif->{'Predictor'} > 1
197 0 0 0 defined $tif->{'g3Options'} and $tif->{'g3Options'} & 4
245 2 0 1 ($tif->{'whiteIsZero'} || 0) == 1 and ($tif->{'filter'} || '') ne 'CCITTFaxDecode'
251 2 1 0 defined $tif->{'filter'} and $tif->{'filter'} eq 'CCITTFaxDecode'
2 0 1 defined $tif->{'filter'} and $tif->{'filter'} eq 'LZWDecode'
2 0 0 defined $tif->{'filter'} and $tif->{'filter'} eq 'FlateDecode'

or 2 conditions

line l !l condition
196 0 0 $tif->{'whiteIsZero'} || 0
245 1 2 $tif->{'whiteIsZero'} || 0
1 0 $tif->{'filter'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
63 3 0 0 $name || 'Ix' . pdfkey()
192 0 0 0 $tif->{'ccitt'} == 4 || ($tif->{'g3Options'} || 0) & 1