Condition Coverage

blib/lib/PDF/API2/Resource/Font/BdFont.pm
Criterion Covered Total %
condition 0 63 0.0


or 2 conditions

line l !l condition
79 0 0 $_ || '.notdef'
130 0 0 $widths[$_] || 0
144 0 0 $data->{'char'}[$n] or ".notdef"
145 0 0 $data->{'e2n'}[$n] or ".notdef"
147 0 0 $data->{'e2n'}[$n] or ".notdef"
148 0 0 $data->{'char'}[$n] or ".notdef"
153 0 0 $data->{'e2n'}[$n] || '.notdef'
154 0 0 $data->{'char'}[$n] || '.notdef'
219 0 0 $data->{'char'}[$n] ||= ".notdef"
224 0 0 $data->{'uni'} ||= []
226 0 0 uniByName($data->{'char'}[$n] || '.notdef') || 0
241 0 0 $data->{'AVERAGE_WIDTH'} || int $data->{'FONT_AVERAGE_WIDTH'} * 1000 / $data->{'upm'} || $data->{'RAW_AVERAGE_WIDTH'} || 500

or 3 conditions

line l !l&&r !l&&!r condition
144 0 0 0 $data->{'n2c'}{$data->{'char'}[$n] or ".notdef"} //= $n
145 0 0 0 $data->{'n2e'}{$data->{'e2n'}[$n] or ".notdef"} //= $n
147 0 0 0 $data->{'n2u'}{$data->{'e2n'}[$n] or ".notdef"} //= $data->{'e2u'}[$n]
148 0 0 0 $data->{'n2u'}{$data->{'char'}[$n] or ".notdef"} //= $data->{'uni'}[$n]
150 0 0 0 $data->{'u2c'}{$data->{'uni'}[$n]} //= $n
151 0 0 0 $data->{'u2e'}{$data->{'e2u'}[$n]} //= $n
153 0 0 0 $data->{'u2n'}{$data->{'e2u'}[$n]} //= $data->{'e2n'}[$n] || '.notdef'
154 0 0 0 $data->{'u2n'}{$data->{'uni'}[$n]} //= $data->{'char'}[$n] || '.notdef'
183 0 0 0 $data->{'char2'}[-1]{'NAME'} ||= "E_" . $data->{'char2'}[-1]{'ENCODING'}
214 0 0 0 $data->{'PIXEL_SIZE'} || $data->{'fontbbox'}[1] - $data->{'fontbbox'}[3]
229 0 0 0 $data->{'RAW_ASCENT'} || int $data->{'FONT_ASCENT'} * 1000 / $data->{'upm'}
231 0 0 0 $data->{'RAW_DESCENT'} || int $data->{'FONT_DESCENT'} * 1000 / $data->{'upm'}
247 0 0 0 $data->{'RAW_XHEIGHT'} || int $data->{'FONT_XHEIGHT'} * 1000 / $data->{'upm'} || int $data->{'ascender'} / 2