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
88 0 0 0 defined $opts{'-style'} and not defined $opts{'style'}

or 2 conditions

line l !l condition
151 0 0 $_ || '.notdef'
173 0 0 $self->{'missingwidth'} || 100
284 0 0 $widths[$_] || $self->{' data'}{'missingwidth'} || 100
296 0 0 $self->data->{'char'}[$n] or ".notdef"
0 0 $self->data->{'char'}[$n] or ".notdef"
297 0 0 $self->data->{'e2n'}[$n] or ".notdef"
0 0 $self->data->{'e2n'}[$n] or ".notdef"
299 0 0 $self->data->{'e2n'}[$n] or ".notdef"
0 0 $self->data->{'e2n'}[$n] or ".notdef"
300 0 0 $self->data->{'char'}[$n] or ".notdef"
0 0 $self->data->{'char'}[$n] or ".notdef"
305 0 0 $self->data->{'e2n'}[$n] || '.notdef'
306 0 0 $self->data->{'char'}[$n] || '.notdef'
367 0 0 $data->{'missingwidth'} || 100
388 0 0 $data->{'char'}[$n] ||= ".notdef"
391 0 0 $data->{'uni'} ||= []
393 0 0 uniByName($data->{'char'}[$n] || '.notdef') || 0
408 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
161 0 0 0 uniByName($self->data->{'char'}[$w]) || $w
338 0 0 0 $data->{'char2'}[-1]{'NAME'} ||= 'E_' . $data->{'char2'}[-1]{'ENCODING'}
379 0 0 0 $data->{'PIXEL_SIZE'} || $data->{'fontbbox'}[1] - $data->{'fontbbox'}[3]
396 0 0 0 $data->{'RAW_ASCENT'} || int $data->{'FONT_ASCENT'} * 1000 / $data->{'upm'}
398 0 0 0 $data->{'RAW_DESCENT'} || int $data->{'FONT_DESCENT'} * 1000 / $data->{'upm'}
414 0 0 0 $data->{'RAW_XHEIGHT'} || int(($data->{'FONT_XHEIGHT'} || 0) * 1000 / $data->{'upm'}) || int $data->{'ascender'} / 2