Condition Coverage

blib/lib/PDF/API2/Resource/Font.pm
Criterion Covered Total %
condition 37 48 77.0


and 3 conditions

line !l l&&!r l&&r condition
25 51 1 1 defined $encoding and $encoding =~ /^uni(\d+)$/
113 0 0 0 defined $data->{'comps'} and not $self->{'-nocomps'}

or 2 conditions

line l !l condition
55 13568 0 $data->{'char'}[$n] // ".notdef"
58 13568 0 $data->{'e2n'}[$n] // ".notdef"
63 13568 0 $data->{'char'}[$n] // ".notdef"
64 11800 1768 $data->{'uni'}[$n] // 0
69 11864 1704 $data->{'e2u'}[$n] // 0
72 13568 0 $data->{'e2n'}[$n] // ".notdef"
75 13568 0 $data->{'char'}[$n] // ".notdef"
76 11800 1768 $data->{'uni'}[$n] // 0
88 13568 0 $self->glyphByEnc($n) || '.notdef'

or 3 conditions

line l !l&&r !l&&!r condition
56 2110 11405 53 $data->{'n2c'}{$xchar} //= $n
59 2046 11469 53 $data->{'n2e'}{$xchar} //= $n
61 2048 11447 73 $data->{'n2u'}{$xchar} //= $data->{'e2u'}[$n]
65 13285 210 73 $data->{'n2u'}{$xchar} //= $xuni
67 2100 11415 53 $data->{'u2c'}{$xuni} //= $n
70 2022 11493 53 $data->{'u2e'}{$xuni} //= $n
73 2023 11545 0 $data->{'u2n'}{$xuni} //= $xchar
77 13331 237 0 $data->{'u2n'}{$xuni} //= $xchar