Condition Coverage

blib/lib/PDF/Builder/Resource/Font/Postscript.pm
Criterion Covered Total %
condition 0 66 0.0


and 3 conditions

line !l l&&!r l&&r condition
26 0 0 0 defined $opts{'-encode'} and not defined $opts{'encode'}
27 0 0 0 defined $opts{'-afmfile'} and not defined $opts{'afmfile'}
28 0 0 0 defined $opts{'-pfmfile'} and not defined $opts{'pfmfile'}
29 0 0 0 defined $opts{'-xfmfile'} and not defined $opts{'xfmfile'}
30 0 0 0 defined $opts{'-pdfname'} and not defined $opts{'pdfname'}
31 0 0 0 defined $opts{'-nocomps'} and not defined $opts{'nocomps'}
32 0 0 0 defined $opts{'-dokern'} and not defined $opts{'dokern'}
79 0 0 0 defined $opts{'encode'} and $opts{'encode'} =~ /^utf/i
103 0 0 0 $lines[0] == 128 and $lines[1] == 1
109 0 0 0 $lines[0] == 128 and $lines[1] == 2
118 0 0 0 $lines[0] == 128 and $lines[1] == 1
450 0 0 0 $df{'PitchAndFamily'} & 1 || $df{'PitchAndFamily'} & 8 and not $df{'PitchAndFamily'} & 2
452 0 0 0 $df{'PitchAndFamily'} & 16 and not $df{'PitchAndFamily'} & 32

or 2 conditions

line l !l condition
184 0 0 $ch || 0
191 0 0 $data->{'maxwidth'} || 0
0 0 $data->{'maxwidth'} || 0
201 0 0 $data->{'kern'} ||= {}
206 0 0 $data->{'comps'} ||= {}
271 0 0 $data->{'uni'} ||= []
273 0 0 uniByName($data->{'char'}[$n] || '.notdef') || 0
440 0 0 $df{'LastChar'} || 0
441 0 0 $df{'FirstChar'} || 255

or 3 conditions

line l !l&&r !l&&!r condition
262 0 0 0 $data->{'missingwidth'} ||= $data->{'avgwidth2'}
450 0 0 0 $df{'PitchAndFamily'} & 1 || $df{'PitchAndFamily'} & 8
473 0 0 0 $df{'PitchAndFamily'} & 8 || $df{'PitchAndFamily'} & 1