Condition Coverage

blib/lib/PDF/Builder/Resource/CIDFont/TrueType/FontFile.pm
Criterion Covered Total %
condition 0 84 0.0


and 3 conditions

line !l l&&!r l&&r condition
310 0 0 0 ref $dt eq "HASH" and defined $dt->{'SID'}
326 0 0 0 defined $opts{'-noembed'} and not defined $opts{'noembed'}
327 0 0 0 defined $opts{'-isocmap'} and not defined $opts{'isocmap'}
328 0 0 0 defined $opts{'-debug'} and not defined $opts{'debug'}
329 0 0 0 defined $opts{'-cmaps'} and not defined $opts{'cmaps'}
330 0 0 0 defined $opts{'-usecmf'} and not defined $opts{'usecmf'}
420 0 0 0 $font->{'OS/2'}{'bSerifStyle'} > 10 and $font->{'OS/2'}{'bSerifStyle'} < 14
434 0 0 0 $font->{'post'}->read->{'FormatType'} == 3 and defined $font->{'cmap'}->read->find_ms
484 0 0 0 $CMapfile ne "" and $opts{'usecmf'}
490 0 0 0 $opts{'debug'} and $CMapfile ne ""
620 0 0 0 $CMapfile ne "" and not $opts{'usecmf'}
752 0 0 0 $self->data->{'subset'} and not $self->data->{'nosubset'}

or 2 conditions

line l !l condition
236 0 0 $data ||= {}
249 0 0 $self->data->{'g2n'}[$idx1] // ""
0 0 $self->data->{'g2n'}[$idx2] // ""
351 0 0 $opts{'noembed'} || 0
372 0 0 $stretch[$font->{'OS/2'}{'usWidthClass'}] || 'Normal'
392 0 0 $opts{'isocmap'} || 0
395 0 0 $font->{'cmap'}->find_ms->{'Platform'} == 3 && $font->{'cmap'}->read->find_ms->{'Encoding'} == 0 || 0
412 0 0 int $font->{'hhea'}->read->{'advanceWidthMax'} * 1000 / $data->{'upem'} || 1000
639 0 0 $u || 0
651 0 0 $data->{'u2g'}{$_} or 0
653 0 0 $_ or 0
705 0 0 $self->data->{'kern'}{"${i1}:$i2"} || 0

or 3 conditions

line l !l&&r !l&&!r condition
425 0 0 0 $font->{'OS/2'}{'CapHeight'} || int $data->{'fontbbox'}[3] * 0.8
426 0 0 0 $font->{'OS/2'}{'xHeight'} || int $data->{'fontbbox'}[3] * 0.4
550 0 0 0 $OS eq "MSWin32" or $OS eq "dos"
0 0 0 $OS eq "MSWin32" or $OS eq "dos" or $OS eq "os2"
0 0 0 $OS eq "MSWin32" or $OS eq "dos" or $OS eq "os2" or $OS eq "cygwin"
647 0 0 0 $data->{'u2g'}{$_} ||= $font->{'cmap'}->read->ms_lookup($_)
648 0 0 0 $data->{'u2g'}{$_ & 255} ||= $font->{'cmap'}->read->ms_lookup($_)
704 0 0 0 $i1 == 0 or $i2 == 0