Branch Coverage

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


line true false branch
66 0 0 if scalar(@opts) % 2 == 0
68 0 0 if ref $class
70 0 0 if defined $pdf and not $self->is_obj($pdf)
124 0 0 if (ref $self->data->{'wx'} eq 'ARRAY' and defined $self->data->{'wx'}[$g]) { }
0 0 elsif (ref $self->data->{'wx'} eq 'HASH' and defined $self->data->{'wx'}{$g}) { }
157 0 0 if ($$self{-'dokern'} and $self->haveKernPairs)
159 0 0 if ($self->kernPairCid($lastglyph, $n))
186 0 0 if (is_utf8 $text and defined $self->data->{'decode'} and $self->data->{'decode'} ne 'ident') { }
0 0 elsif (is_utf8 $text and $self->data->{'decode'} eq 'ident') { }
0 0 elsif (not is_utf8($text) and defined $self->data->{'encode'} and $self->data->{'decode'} eq 'ident') { }
0 0 elsif (not is_utf8($text) and UNIVERSAL::can($self, 'issymbol') and $self->issymbol and $self->data->{'decode'} eq 'ident') { }
218 0 0 $_ > 127 && $_ < 160 ? :
239 0 0 if (defined $size and $$self{-'dokern'}) { }
0 0 elsif (defined $size) { }
246 0 0 if (defined $ident and $ident != 0) { }
264 0 0 if (UNIVERSAL::can($self, 'fontfile'))
272 0 0 if (defined $size) { }
285 0 0 if (UNIVERSAL::can($self, 'fontfile'))
292 0 0 if (defined $size and $$self{-'dokern'} and $self->haveKernPairs) { }
0 0 elsif (defined $size) { }
299 0 0 if ($self->kernPairCid($lastglyph, $n))
301 0 0 if $tBefore
307 0 0 unless $tBefore
311 0 0 if $tBefore
312 0 0 if (defined $ident and $ident != 0) { }
324 0 0 if (defined $ident and $ident != 0) { }
353 0 0 if $self->issymbol
355 0 0 $_ > 127 && $_ < 160 ? :
0 0 if defined $enc
356 0 0 unless $self->data->{'g2n'}[$self->data->{'u2g'}{$_} or 0]
357 0 0 unless $self->data->{'u2g'}{$_}
362 0 0 unless defined $self->data->{'u2e'}{$self->data->{'e2u'}[$n]}
381 0 0 if (defined $self->data->{'glyphs'})
392 0 0 if defined $opts{'passthru'}