Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
83 0 0 0 defined $opts{'-style'} and not defined $opts{'style'}

or 2 conditions

line l !l condition
146 0 0 $_ || '.notdef'
168 0 0 $self->{'missingwidth'} || 100
279 0 0 $widths[$_] || $self->{' data'}{'missingwidth'} || 100
291 0 0 $self->data->{'char'}[$n] or ".notdef"
0 0 $self->data->{'char'}[$n] or ".notdef"
292 0 0 $self->data->{'e2n'}[$n] or ".notdef"
0 0 $self->data->{'e2n'}[$n] or ".notdef"
294 0 0 $self->data->{'e2n'}[$n] or ".notdef"
0 0 $self->data->{'e2n'}[$n] or ".notdef"
295 0 0 $self->data->{'char'}[$n] or ".notdef"
0 0 $self->data->{'char'}[$n] or ".notdef"
300 0 0 $self->data->{'e2n'}[$n] || '.notdef'
301 0 0 $self->data->{'char'}[$n] || '.notdef'
362 0 0 $data->{'missingwidth'} || 100
383 0 0 $data->{'char'}[$n] ||= ".notdef"
386 0 0 $data->{'uni'} ||= []
388 0 0 uniByName($data->{'char'}[$n] || '.notdef') || 0
403 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
156 0 0 0 uniByName($self->data->{'char'}[$w]) || $w
333 0 0 0 $data->{'char2'}[-1]{'NAME'} ||= "E_" . $data->{'char2'}[-1]{'ENCODING'}
374 0 0 0 $data->{'PIXEL_SIZE'} || $data->{'fontbbox'}[1] - $data->{'fontbbox'}[3]
391 0 0 0 $data->{'RAW_ASCENT'} || int $data->{'FONT_ASCENT'} * 1000 / $data->{'upm'}
393 0 0 0 $data->{'RAW_DESCENT'} || int $data->{'FONT_DESCENT'} * 1000 / $data->{'upm'}
409 0 0 0 $data->{'RAW_XHEIGHT'} || int(($data->{'FONT_XHEIGHT'} || 0) * 1000 / $data->{'upm'}) || int $data->{'ascender'} / 2