Branch Coverage

blib/lib/PDF/Builder/Resource/XObject/Image/TIFF/File.pm
Criterion Covered Total %
branch 69 104 66.3


line true false branch
22 1 3 if (ref $file) { }
27 1 2 unless open $self->{'fh'}, "<", $file
38 0 3 $self->{'byteOrder'} eq 'MM' ? :
39 0 3 $self->{'byteOrder'} eq 'MM' ? :
40 0 3 $self->{'byteOrder'} eq 'MM' ? :
45 0 3 if $self->{'version'} != 42
67 6 2 $type == 5 ? :
12 8 $type == 4 ? :
29 20 $type == 3 ? :
6 49 $type == 2 ? :
6 55 $type == 1 ? :
76 22 39 if ($len > 4) { }
83 12 0 $type == 4 ? :
27 12 $type == 3 ? :
0 39 $type == 2 ? :
0 39 $type == 1 ? :
110 0 61 if ($valTag == 0) { }
3 58 elsif ($valTag == 256) { }
3 55 elsif ($valTag == 257) { }
3 52 elsif ($valTag == 258) { }
3 49 elsif ($valTag == 259) { }
3 46 elsif ($valTag == 262) { }
0 46 elsif ($valTag == 266) { }
0 46 elsif ($valTag == 270) { }
3 43 elsif ($valTag == 282) { }
3 40 elsif ($valTag == 283) { }
3 37 elsif ($valTag == 296) { }
3 34 elsif ($valTag == 273) { }
3 31 elsif ($valTag == 277) { }
3 28 elsif ($valTag == 278) { }
3 25 elsif ($valTag == 279) { }
0 25 elsif ($valTag == 292) { }
0 25 elsif ($valTag == 293) { }
0 25 elsif ($valTag == 320) { }
0 25 elsif ($valTag == 317) { }
0 25 elsif ($valTag == 32781) { }
118 2 1 if ($valCount > 1) { }
131 2 1 if ($valOffset == 1) { }
0 1 elsif ($valOffset == 3 or $valOffset == 4) { }
1 0 elsif ($valOffset == 5) { }
0 0 elsif ($valOffset == 6 or $valOffset == 7) { }
0 0 elsif ($valOffset == 8 or $valOffset == 32946) { }
0 0 elsif ($valOffset == 32773) { }
150 1 2 if ($valOffset == 0) { }
0 2 elsif ($valOffset == 1) { }
2 0 elsif ($valOffset == 2) { }
0 0 elsif ($valOffset == 3) { }
0 0 elsif ($valOffset == 5) { }
0 0 elsif ($valOffset == 6) { }
0 0 elsif ($valOffset == 8) { }
200 3 0 if ($valCount == 1) { }
216 3 0 if ($valCount == 1) { }