Condition Coverage

blib/lib/PDF/Builder/Resource/Font.pm
Criterion Covered Total %
condition 32 48 66.6


and 3 conditions

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

or 2 conditions

line l !l condition
71 9472 0 $data->{'char'}[$n] // ".notdef"
74 9472 0 $data->{'e2n'}[$n] // ".notdef"
79 9472 0 $data->{'char'}[$n] // ".notdef"
80 8188 1284 $data->{'uni'}[$n] // 0
85 9276 196 $data->{'e2u'}[$n] // 0
88 9472 0 $data->{'e2n'}[$n] // ".notdef"
91 9472 0 $data->{'char'}[$n] // ".notdef"
92 8188 1284 $data->{'uni'}[$n] //= 0
104 9472 0 $self->glyphByEnc($n) || '.notdef'

or 3 conditions

line l !l&&r !l&&!r condition
72 1497 7975 0 $data->{'n2c'}{$xchar} //= $n
75 633 8839 0 $data->{'n2e'}{$xchar} //= $n
77 667 8780 25 $data->{'n2u'}{$xchar} //= $data->{'e2u'}[$n]
81 9204 268 0 $data->{'n2u'}{$xchar} //= $xuni
83 1519 7953 0 $data->{'u2c'}{$xuni} //= $n
86 193 9279 0 $data->{'u2e'}{$xuni} //= $n
89 194 9278 0 $data->{'u2n'}{$xuni} //= $xchar
93 8371 1101 0 $data->{'u2n'}{$xuni} //= $xchar