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'}
448 0 0 0 $font->{'OS/2'}{'bSerifStyle'} > 10 and $font->{'OS/2'}{'bSerifStyle'} < 14
463 0 0 0 $font->{'post'}->read->{'FormatType'} == 3 and defined $font->{'cmap'}->read->find_ms
554 0 0 0 $i1 == 0 and $i2 == 0
593 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] // ""
402 0 0 $stretch[$font->{'OS/2'}{'usWidthClass'}] || 'Normal'
423 0 0 $font->{'cmap'}->find_ms->{'Platform'} == 3 && $font->{'cmap'}->read->find_ms->{'Encoding'} == 0 || 0
441 0 0 int $font->{'hhea'}->read->{'advanceWidthMax'} * 1000 / $data->{'upem'} || 1000
500 0 0 $u || 0
511 0 0 $data->{'u2g'}{$_} or 0
513 0 0 $_ or 0
555 0 0 $self->data->{'kern'}{"${i1}:$i2"} || 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
491 0 0 0 $cffcmap{$key} // $key
507 0 0 0 $data->{'u2g'}{$_} ||= $font->{'cmap'}->read->ms_lookup($_)
508 0 0 0 $data->{'u2g'}{$_ & 255} ||= $font->{'cmap'}->read->ms_lookup($_)
516 0 0 0 $data->{'u2e'}{$data->{'e2u'}[$n]} //= $n