Condition Coverage

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


or 2 conditions

line l !l condition
120 0 0 $_ || '.notdef'
157 0 0 $widths[$_] || 0
169 0 0 $self->data->{'char'}[$n] or '.notdef'
0 0 $self->data->{'char'}[$n] or '.notdef'
170 0 0 $self->data->{'e2n'}[$n] or '.notdef'
0 0 $self->data->{'e2n'}[$n] or '.notdef'
172 0 0 $self->data->{'e2n'}[$n] or '.notdef'
0 0 $self->data->{'e2n'}[$n] or '.notdef'
173 0 0 $self->data->{'char'}[$n] or '.notdef'
0 0 $self->data->{'char'}[$n] or '.notdef'
178 0 0 $self->data->{'e2n'}[$n] || '.notdef'
179 0 0 $self->data->{'char'}[$n] || '.notdef'
255 0 0 $$data{'char'}[$n] ||= '.notdef'
259 0 0 $$data{'uni'} ||= []
261 0 0 uniByName($$data{'char'}[$n] || '.notdef') || 0
274 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
224 0 0 0 $$data{'char2'}[-1]{'NAME'} ||= 'E_' . $$data{'char2'}[-1]{'ENCODING'}
251 0 0 0 $$data{'PIXEL_SIZE'} || $$data{'fontbbox'}[1] - $$data{'fontbbox'}[3]
263 0 0 0 $$data{'RAW_ASCENT'} || int $$data{'FONT_ASCENT'} * 1000 / $$data{'upm'}
265 0 0 0 $$data{'RAW_DESCENT'} || int $$data{'FONT_DESCENT'} * 1000 / $$data{'upm'}
280 0 0 0 $$data{'RAW_XHEIGHT'} || int $$data{'FONT_XHEIGHT'} * 1000 / $$data{'upm'} || int $$data{'ascender'} / 2