Condition Coverage

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


and 3 conditions

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

or 2 conditions

line l !l condition
57 13312 0 $data->{'char'}[$n] // ".notdef"
60 13312 0 $data->{'e2n'}[$n] // ".notdef"
65 13312 0 $data->{'char'}[$n] // ".notdef"
66 11579 1733 $data->{'uni'}[$n] // 0
71 13083 229 $data->{'e2u'}[$n] // 0
74 13312 0 $data->{'e2n'}[$n] // ".notdef"
77 13312 0 $data->{'char'}[$n] // ".notdef"
78 11579 1733 $data->{'uni'}[$n] //= 0
90 13312 0 $self->glyphByEnc($n) || '.notdef'

or 3 conditions

line l !l&&r !l&&!r condition
58 2068 11192 52 $data->{'n2c'}{$xchar} //= $n
61 879 12381 52 $data->{'n2e'}{$xchar} //= $n
63 926 12314 72 $data->{'n2u'}{$xchar} //= $data->{'e2u'}[$n]
67 13030 255 27 $data->{'n2u'}{$xchar} //= $xuni
69 2058 11202 52 $data->{'u2c'}{$xuni} //= $n
72 225 13035 52 $data->{'u2e'}{$xuni} //= $n
75 226 13086 0 $data->{'u2n'}{$xuni} //= $xchar
79 11860 1452 0 $data->{'u2n'}{$xuni} //= $xchar