Condition Coverage

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


or 2 conditions

line l !l condition
139 0 0 $_ || '.notdef'
161 0 0 $self->{'missingwidth'} || 100
272 0 0 $widths[$_] || $self->{' data'}{'missingwidth'} || 100
284 0 0 $self->data->{'char'}[$n] or '.notdef'
0 0 $self->data->{'char'}[$n] or '.notdef'
285 0 0 $self->data->{'e2n'}[$n] or '.notdef'
0 0 $self->data->{'e2n'}[$n] or '.notdef'
287 0 0 $self->data->{'e2n'}[$n] or '.notdef'
0 0 $self->data->{'e2n'}[$n] or '.notdef'
288 0 0 $self->data->{'char'}[$n] or '.notdef'
0 0 $self->data->{'char'}[$n] or '.notdef'
293 0 0 $self->data->{'e2n'}[$n] || '.notdef'
294 0 0 $self->data->{'char'}[$n] || '.notdef'
355 0 0 $data->{'missingwidth'} || 100
376 0 0 $data->{'char'}[$n] ||= '.notdef'
379 0 0 $data->{'uni'} ||= []
381 0 0 uniByName($data->{'char'}[$n] || '.notdef') || 0
396 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
149 0 0 0 uniByName($self->data->{'char'}[$w]) || $w
326 0 0 0 $data->{'char2'}[-1]{'NAME'} ||= 'E_' . $data->{'char2'}[-1]{'ENCODING'}
367 0 0 0 $data->{'PIXEL_SIZE'} || $data->{'fontbbox'}[1] - $data->{'fontbbox'}[3]
384 0 0 0 $data->{'RAW_ASCENT'} || int $data->{'FONT_ASCENT'} * 1000 / $data->{'upm'}
386 0 0 0 $data->{'RAW_DESCENT'} || int $data->{'FONT_DESCENT'} * 1000 / $data->{'upm'}
402 0 0 0 $data->{'RAW_XHEIGHT'} || int(($data->{'FONT_XHEIGHT'} || 0) * 1000 / $data->{'upm'}) || int $data->{'ascender'} / 2