Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
346 0 0 0 ref $dt eq "HASH" and defined $dt->{'SID'}
441 0 0 0 $font->{'OS/2'}{'bSerifStyle'} > 10 and $font->{'OS/2'}{'bSerifStyle'} < 14
456 0 0 0 $font->{'post'}->read->{'FormatType'} == 3 and defined $font->{'cmap'}->read->find_ms
547 0 0 0 $i1 == 0 and $i2 == 0
586 0 0 0 $self->data->{'subset'} and not $self->data->{'nosubset'}

or 2 conditions

line l !l condition
268 0 0 $data ||= {}
284 0 0 $self->data->{'g2n'}[$idx1] // ""
0 0 $self->data->{'g2n'}[$idx2] // ""
395 0 0 $stretch[$font->{'OS/2'}{'usWidthClass'}] || 'Normal'
416 0 0 $font->{'cmap'}->find_ms->{'Platform'} == 3 && $font->{'cmap'}->read->find_ms->{'Encoding'} == 0 || 0
434 0 0 int $font->{'hhea'}->read->{'advanceWidthMax'} * 1000 / $data->{'upem'} || 1000
493 0 0 $u || 0
504 0 0 $data->{'u2g'}{$_} or 0
506 0 0 $_ or 0
548 0 0 $self->data->{'kern'}{"${i1}:$i2"} || 0

or 3 conditions

line l !l&&r !l&&!r condition
446 0 0 0 $font->{'OS/2'}{'CapHeight'} || int $data->{'fontbbox'}[3] * 0.8
447 0 0 0 $font->{'OS/2'}{'xHeight'} || int $data->{'fontbbox'}[3] * 0.4
484 0 0 0 $cffcmap{$key} // $key
500 0 0 0 $data->{'u2g'}{$_} ||= $font->{'cmap'}->read->ms_lookup($_)
501 0 0 0 $data->{'u2g'}{$_ & 255} ||= $font->{'cmap'}->read->ms_lookup($_)
509 0 0 0 $data->{'u2e'}{$data->{'e2u'}[$n]} //= $n