Branch Coverage

blib/lib/PDF/API3/Compat/API2/Resource/CIDFont/TrueType/FontFile.pm
Criterion Covered Total %
branch 0 194 0.0


line true false branch
60 0 0 if defined $$cmap{$fname}
62 0 0 if (not $@) { }
106 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) { }
110 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) { }
214 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) { }
268 0 0 if $v > 32767
274 0 0 if $v > 2147483647
285 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) { }
348 0 0 unless $$font{'kern'}
361 0 0 if ($fmt == 0) { }
0 0 elsif ($fmt == 2) { }
370 0 0 if $val > 32767
371 0 0 $val < 0 ? :
372 0 0 if ($val != 0)
439 0 0 if ($k eq 'ROS')
445 0 0 unless ref $dt eq 'HASH' and defined $$dt{'SID'}
446 0 0 if ($$dt{'SID'} >= 379)
455 0 0 if defined $$data{'topdict'}[0]{'VAL'}{$k}
464 0 0 unless -f $file
468 0 0 if ref $class
475 0 0 $opts{-'noembed'} == 1 ? :
476 0 0 defined $$font{'CFF '} ? :
478 0 0 if $$data{'iscff'}
519 0 0 if (defined $$font{'cmap'}->find_ms) { }
546 0 0 if $$font{'OS/2'}->read->{'bProportion'} == 9
547 0 0 unless $$font{'OS/2'}{'bSerifStyle'} > 10 and $$font{'OS/2'}{'bSerifStyle'} < 14
548 0 0 if $$font{'OS/2'}{'bFamilyType'} == 2
550 0 0 if $$font{'OS/2'}{'bLetterform'} > 8
555 0 0 if ($$data{'issymbol'}) { }
564 0 0 if ($$font{'post'}->read->{'FormatType'} == 3 and defined $$font{'cmap'}->read->find_ms) { }
575 0 0 unless $_
583 0 0 if ($self->iscff)
588 0 0 if (defined $$data{'cff'}{'ROS'}) { }
610 0 0 unless $_
613 0 0 if ($$data{'issymbol'})
619 0 0 unless $$data{'g2n'}[$$data{'u2g'}{$_} or 0]
621 0 0 unless $$data{'u2g'}{$_ or 0}
625 0 0 unless defined $$data{'u2e'}{$$data{'e2u'}[$n]}
638 0 0 unless defined $$data{'kern'}
655 0 0 $_[0]->data->{'kern'} ? :
660 0 0 if $i1 == 0 or $i2 == 0
670 0 0 if $self->iscff
671 0 0 if (defined $self->font->{'loca'}->read->{'glyphs'}[$g])
679 0 0 if $self->iscff
689 0 0 if defined $opts{'passthru'}
693 0 0 if ($self->iscff) { }
697 0 0 if ($self->data->{'subset'} and not $self->data->{'nosubset'})
700 0 0 if $self->subvec($i)
706 0 0 if ($self->data->{'noembed'} != 1)