Branch Coverage

blib/lib/PDF/API3/Compat/API2/Resource/Font/neTrueType.pm
Criterion Covered Total %
branch 0 270 0.0


line true false branch
108 0 0 if $res > 32767
119 0 0 if $res > 1
128 0 0 if $res >= 2147483648
143 0 0 if $res >= 32768
178 0 0 if ($pid == 0 or $pid == 3 or $pid == 2 and $eid == 1)
179 0 0 $_ > 255 ? :
207 0 0 if $$data{'V'}{'bProportion'} == 9
208 0 0 unless $$data{'V'}{'bSerifStyle'} > 10 and $$data{'V'}{'bSerifStyle'} < 14
209 0 0 if $$data{'V'}{'bFamilyType'} == 2
211 0 0 if $$data{'V'}{'bLetterform'} > 8
218 0 0 if ($os2ver > 0)
332 0 0 if ($$s{'Format'} == 0) { }
0 0 elsif ($$s{'Format'} == 2) { }
0 0 elsif ($$s{'Format'} == 4) { }
0 0 elsif ($$s{'Format'} == 6) { }
0 0 elsif ($$s{'Format'} == 10) { }
0 0 elsif ($$s{'Format'} == 8 or $$s{'Format'} == 12) { }
361 0 0 if $delta > 32767
367 0 0 if ($range == 0 or $range == 65535) { }
378 0 0 if $id >= 65536
379 0 0 if $id
413 0 0 if ($$s{'Format'} == 8) { }
438 0 0 if ($$s{'Platform'} == 3) { }
0 0 elsif ($$s{'Platform'} == 0 or $$s{'Platform'} == 2 and $$s{'Encoding'} == 1) { }
441 0 0 if $$s{'Encoding'} == 1 or $$s{'Encoding'} == 0
448 0 0 if $alt
511 0 0 if ($$post{'Format'} == 65536) { }
0 0 elsif ($$post{'Format'} == 131072) { }
0 0 elsif ($$post{'Format'} == 151552) { }
0 0 elsif ($$post{'Format'} == 196608) { }
587 0 0 $$data{'head'}{'indexToLocFormat'} ? :
588 0 0 $$data{'head'}{'indexToLocFormat'} ? :
589 0 0 $$data{'head'}{'indexToLocFormat'} ? :
612 0 0 if $$data{'loca'}{'gOFF'}[$i] - $$data{'loca'}{'gOFF'}[$i + 1] == 0
637 0 0 if ($lid == -1) { }
641 0 0 if (($res = $$self{'strings'}[$nid][$pid][$eid]{$k}) ne '')
649 0 0 if ($res ne '')
650 0 0 wantarray ? :
692 0 0 if ($b0 == 12) { }
0 0 elsif ($b0 < 28) { }
0 0 elsif ($b0 == 28) { }
0 0 elsif ($b0 == 29) { }
0 0 elsif ($b0 == 30) { }
0 0 elsif ($b0 == 31) { }
0 0 elsif ($b0 < 247) { }
0 0 elsif ($b0 < 251) { }
0 0 elsif ($b0 < 255) { }
696 0 0 if ($b1 == 0) { }
0 0 elsif ($b1 == 1) { }
0 0 elsif ($b1 == 2) { }
0 0 elsif ($b1 == 3) { }
0 0 elsif ($b1 == 4) { }
0 0 elsif ($b1 == 5) { }
0 0 elsif ($b1 == 6) { }
0 0 elsif ($b1 == 7) { }
0 0 elsif ($b1 == 8) { }
0 0 elsif ($b1 == 20) { }
0 0 elsif ($b1 == 21) { }
0 0 elsif ($b1 == 22) { }
0 0 elsif ($b1 == 23) { }
0 0 elsif ($b1 == 24) { }
0 0 elsif ($b1 == 25) { }
0 0 elsif ($b1 == 30) { }
0 0 elsif ($b1 == 31) { }
0 0 elsif ($b1 == 32) { }
0 0 elsif ($b1 == 33) { }
0 0 elsif ($b1 == 34) { }
0 0 elsif ($b1 == 35) { }
0 0 elsif ($b1 == 36) { }
0 0 elsif ($b1 == 37) { }
0 0 elsif ($b1 == 38) { }
0 0 elsif ($b1 == 39) { }
800 0 0 if ($b0 == 0) { }
0 0 elsif ($b0 == 1) { }
0 0 elsif ($b0 == 2) { }
0 0 elsif ($b0 == 3) { }
0 0 elsif ($b0 == 4) { }
0 0 elsif ($b0 == 5) { }
0 0 elsif ($b0 == 13) { }
0 0 elsif ($b0 == 14) { }
0 0 elsif ($b0 == 15) { }
0 0 elsif ($b0 == 16) { }
0 0 elsif ($b0 == 17) { }
0 0 elsif ($b0 == 18) { }
854 0 0 if $v > 32767
860 0 0 if $v > 2147483647
871 0 0 if ($m < 10) { }
0 0 elsif ($m == 10) { }
0 0 elsif ($m == 11) { }
0 0 elsif ($m == 12) { }
0 0 elsif ($m == 14) { }
0 0 elsif ($m == 15) { }
938 0 0 unless $ver == 65536 or $ver == 1953658213 or $ver == 1330926671
945 0 0 unless read $fh, $buf, 16
953 0 0 unless defined $$data{'name'} and defined $$data{'OS/2'}
987 0 0 if (defined $subname) { }
995 0 0 if (/^(regular|normal|medium)$/i) { }
0 0 elsif (/^bold$/i) { }
0 0 elsif (/^bold *(italic|oblique)$/i) { }
0 0 elsif (/^(italic|oblique)$/i) { }
1013 0 0 if ($$data{'V'}{'usWeightClass'} == 0) { }
0 0 elsif ($$data{'V'}{'usWeightClass'} < 150) { }
0 0 elsif ($$data{'V'}{'usWeightClass'} < 250) { }
0 0 elsif ($$data{'V'}{'usWeightClass'} < 350) { }
0 0 elsif ($$data{'V'}{'usWeightClass'} < 450) { }
0 0 elsif ($$data{'V'}{'usWeightClass'} < 550) { }
0 0 elsif ($$data{'V'}{'usWeightClass'} < 650) { }
0 0 elsif ($$data{'V'}{'usWeightClass'} < 750) { }
0 0 elsif ($$data{'V'}{'usWeightClass'} < 850) { }
1040 0 0 if ($$data{'V'}{'usWidthClass'} == 1) { }
0 0 elsif ($$data{'V'}{'usWidthClass'} == 2) { }
0 0 elsif ($$data{'V'}{'usWidthClass'} == 3) { }
0 0 elsif ($$data{'V'}{'usWidthClass'} == 4) { }
0 0 elsif ($$data{'V'}{'usWidthClass'} == 5) { }
0 0 elsif ($$data{'V'}{'usWidthClass'} == 6) { }
0 0 elsif ($$data{'V'}{'usWidthClass'} == 7) { }
0 0 elsif ($$data{'V'}{'usWidthClass'} == 8) { }
0 0 elsif ($$data{'V'}{'usWidthClass'} == 9) { }
1076 0 0 if (defined $$data{'CFF '})
1120 0 0 if ($k eq 'ROS')
1127 0 0 unless ref $dt eq 'HASH' and defined $$dt{'SID'}
1128 0 0 if ($$dt{'SID'} >= 379)
1144 0 0 if (defined $$data{'hmtx'}{'wx'}[$i]) { }
1159 0 0 if $$data{'isfixedpitch'} > 0
1160 0 0 if $$data{'italicangle'} != 0
1161 0 0 if $$data{'usWeightClass'} >= 600
1173 0 0 if ref $class
1175 0 0 unless $self->is_obj($pdf)
1177 0 0 if $opts{-'dokern'}
1180 0 0 if ($opts{-'fontname'}) { }
1188 0 0 if ($$data{'stylename'} =~ /(italic|oblique)/i and $$data{'usWeightClass'} > 600) { }
0 0 elsif ($$data{'stylename'} =~ /(italic|oblique)/i) { }
0 0 elsif ($$data{'usWeightClass'} > 600) { }
1203 0 0 if ($opts{-'pdfname'})
1227 0 0 unless $obj->is_obj($$api{'pdf'})