Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
312 0 0 0 ref $dt eq "HASH" and defined $dt->{'SID'}
328 0 0 0 defined $opts{'-isocmap'} and not defined $opts{'isocmap'}
329 0 0 0 defined $opts{'-debug'} and not defined $opts{'debug'}
330 0 0 0 defined $opts{'-cmaps'} and not defined $opts{'cmaps'}
331 0 0 0 defined $opts{'-usecmf'} and not defined $opts{'usecmf'}
442 0 0 0 $font->{'OS/2'}{'bSerifStyle'} > 10 and $font->{'OS/2'}{'bSerifStyle'} < 14
462 0 0 0 $font->{'post'}->read->{'FormatType'} == 3 and defined $font->{'cmap'}->read->find_ms
517 0 0 0 $CMapfile ne "" and $opts{'usecmf'}
523 0 0 0 $opts{'debug'} and $CMapfile ne ""
653 0 0 0 $CMapfile ne "" and not $opts{'usecmf'}
786 0 0 0 $self->data->{'subset'} and !(defined $self->data->{'nosubset'} && $self->data->{'nosubset'}) || 0

or 2 conditions

line l !l condition
238 0 0 $data ||= {}
251 0 0 $self->data->{'g2n'}[$idx1] // ""
0 0 $self->data->{'g2n'}[$idx2] // ""
383 0 0 $stretch[$font->{'OS/2'}{'usWidthClass'}] || 'Normal'
410 0 0 $opts{'isocmap'} || 0
413 0 0 $font->{'cmap'}->find_ms->{'Platform'} == 3 && $font->{'cmap'}->read->find_ms->{'Encoding'} == 0 || 0
430 0 0 int $font->{'hhea'}->read->{'advanceWidthMax'} * 1000 / $data->{'upem'} || 1000
672 0 0 $u || 0
684 0 0 $data->{'u2g'}{$_} or 0
686 0 0 $_ or 0
738 0 0 $self->data->{'kern'}{"${i1}:$i2"} || 0
786 0 0 !(defined $self->data->{'nosubset'} && $self->data->{'nosubset'}) || 0

or 3 conditions

line l !l&&r !l&&!r condition
453 0 0 0 $font->{'OS/2'}{'CapHeight'} || int $data->{'fontbbox'}[3] * 0.8
454 0 0 0 $font->{'OS/2'}{'xHeight'} || int $data->{'fontbbox'}[3] * 0.4
583 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"
680 0 0 0 $data->{'u2g'}{$_} ||= $font->{'cmap'}->read->ms_lookup($_)
681 0 0 0 $data->{'u2g'}{$_ & 255} ||= $font->{'cmap'}->read->ms_lookup($_)
737 0 0 0 $i1 == 0 or $i2 == 0