Branch Coverage

blib/lib/PDF/API3/Compat/API2/Resource/BaseFont.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
64 0 0 if ref $class
67 0 0 unless $self->is_obj($pdf)
124 0 0 unless $self->data->{'iscore'}
125 0 0 if (defined $self->data->{'panose'})
129 0 0 if defined $self->data->{'fontfamily'}
131 0 0 if defined $self->data->{'fontweight'}
133 0 0 if defined $self->data->{'fontstretch'}
143 0 0 if defined $$self{'ToUnicode'}
153 0 0 if (UNIVERSAL::can($self, 'uniByCId') and UNIVERSAL::can($self, 'glyphNum')) { }
157 0 0 $self->glyphNum - $j > 100 ? :
158 0 0 if ($j == 0) { }
0 0 elsif ($j % 100 == 0) { }
553 0 0 if (ref $self->data->{'wx'} eq 'HASH') { }
556 0 0 unless (defined $ret)
560 0 0 unless (defined $ret)
569 0 0 unless (defined $ret)
573 0 0 unless (defined $ret)
593 0 0 unless (defined $ret)
597 0 0 unless (defined $ret)
615 0 0 unless (defined $ret)
619 0 0 unless (defined $ret)
637 0 0 unless (defined $ret)
641 0 0 unless (defined $ret)
659 0 0 if (is_utf8 $text)
666 0 0 if ($$self{-'dokern'} and ref $self->data->{'kern'})
684 0 0 unless (is_utf8 $text)
734 0 0 if (is_utf8 $text)
748 0 0 if ($$self{-'dokern'} and ref $self->data->{'kern'}) { }
751 0 0 if (is_utf8 $text)
760 0 0 if (defined $self->data->{'kern'}{$lastglyph . ':' . $self->data->{'e2n'}[$n]})
762 0 0 if $tBefore
771 0 0 unless $tBefore
775 0 0 if $tBefore
790 0 0 if (defined $size and $$self{-'dokern'}) { }
0 0 elsif (defined $size) { }
793 0 0 if (defined $ident and $ident != 0) { }
804 0 0 if (defined $ident and $ident != 0) { }