Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
170 0 0 0 defined $char and $char ne ".notdef"
204 0 0 0 $opts{'smallcaps'} and $ci->{'upper'}

or 2 conditions

line l !l condition
97 0 0 $opts{'angle'} // 0
98 0 0 $opts{'bold'} // 0
99 0 0 $opts{'hscale'} // 100
100 0 0 $opts{'space'} // 0
223 0 0 $font->data->{'char'}[32] // 0
236 0 0 $data->{'char'}[$n] // ".notdef"
237 0 0 $data->{'e2n'}[$n] // ".notdef"
239 0 0 $data->{'e2n'}[$n] // ".notdef"
240 0 0 $data->{'char'}[$n] // ".notdef"
248 0 0 $data->{'e2n'}[$n] // ".notdef"
252 0 0 $data->{'char'}[$n] // ".notdef"

or 3 conditions

line l !l&&r !l&&!r condition
82 0 0 0 $opts{'bold'} //= delete $opts{'-bold'} * 10
85 0 0 0 $opts{'smallcaps'} //= delete $opts{'-caps'}
88 0 0 0 $opts{'angle'} //= delete $opts{'-oblique'}
91 0 0 0 $opts{'hscale'} //= delete $opts{'-slant'} * 100
94 0 0 0 $opts{'space'} //= delete $opts{'-space'}
105 0 0 0 $opts{'name'} // "Syn" . $font->name . pdfkey()
236 0 0 0 $data->{'n2c'}{$data->{'char'}[$n] // ".notdef"} //= $n
237 0 0 0 $data->{'n2e'}{$data->{'e2n'}[$n] // ".notdef"} //= $n
239 0 0 0 $data->{'n2u'}{$data->{'e2n'}[$n] // ".notdef"} //= $data->{'e2u'}[$n]
240 0 0 0 $data->{'n2u'}{$data->{'char'}[$n] // ".notdef"} //= $data->{'uni'}[$n]
243 0 0 0 $data->{'u2c'}{$data->{'uni'}[$n]} //= $n
246 0 0 0 $data->{'u2e'}{$data->{'e2u'}[$n]} //= $n
249 0 0 0 $data->{'u2n'}{$data->{'e2u'}[$n]} //= $value
253 0 0 0 $data->{'u2n'}{$data->{'uni'}[$n]} //= $value