Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
85 0 0 0 defined $opts{'-encode'} and not defined $opts{'encode'}
86 0 0 0 defined $opts{'-afmfile'} and not defined $opts{'afmfile'}
87 0 0 0 defined $opts{'-afm_file'} and not defined $opts{'afm_file'}
88 0 0 0 defined $opts{'-pfmfile'} and not defined $opts{'pfmfile'}
89 0 0 0 defined $opts{'-pfm_file'} and not defined $opts{'pfm_file'}
90 0 0 0 defined $opts{'-xfmfile'} and not defined $opts{'xfmfile'}
91 0 0 0 defined $opts{'-xfm_file'} and not defined $opts{'xfm_file'}
92 0 0 0 defined $opts{'-pdfname'} and not defined $opts{'pdfname'}
93 0 0 0 defined $opts{'-nocomps'} and not defined $opts{'nocomps'}
94 0 0 0 defined $opts{'-dokern'} and not defined $opts{'dokern'}
95 0 0 0 defined $opts{'-kerning'} and not defined $opts{'kerning'}
101 0 0 0 defined $opts{'kerning'} and not defined $opts{'dokern'}
102 0 0 0 defined $opts{'afm_file'} and not defined $opts{'afmfile'}
103 0 0 0 defined $opts{'pfm_file'} and not defined $opts{'pfmfile'}
104 0 0 0 defined $opts{'xfm_file'} and not defined $opts{'xfmfile'}
148 0 0 0 defined $opts{'encode'} and $opts{'encode'} =~ /^utf/i
182 0 0 0 $lines[0] == 128 and $lines[1] == 1
0 0 0 $line eq "%!" and $type eq "pfa"
0 0 0 $line eq "%!" and $type eq "t1"
190 0 0 0 $lines[0] == 128 and $lines[1] == 2
200 0 0 0 $lines[0] == 128 and $lines[1] == 1
583 0 0 0 $df{'PitchAndFamily'} & 1 || $df{'PitchAndFamily'} & 8 and not $df{'PitchAndFamily'} & 2
585 0 0 0 $df{'PitchAndFamily'} & 16 and not $df{'PitchAndFamily'} & 32

or 2 conditions

line l !l condition
317 0 0 $ch || 0
324 0 0 $data->{'maxwidth'} || 0
0 0 $data->{'maxwidth'} || 0
334 0 0 $data->{'kern'} ||= {}
339 0 0 $data->{'comps'} ||= {}
404 0 0 $data->{'uni'} ||= []
406 0 0 uniByName($data->{'char'}[$n] || '.notdef') || 0
573 0 0 $df{'LastChar'} || 0
574 0 0 $df{'FirstChar'} || 255

or 3 conditions

line l !l&&r !l&&!r condition
395 0 0 0 $data->{'missingwidth'} ||= $data->{'avgwidth2'}
583 0 0 0 $df{'PitchAndFamily'} & 1 || $df{'PitchAndFamily'} & 8
606 0 0 0 $df{'PitchAndFamily'} & 8 || $df{'PitchAndFamily'} & 1