Condition Coverage

blib/lib/Font/TTF/Utils.pm
Criterion Covered Total %
condition 30 60 50.0


and 3 conditions

line !l l&&!r l&&r condition
44 0 0 119 defined $key and $key ne ''
130 4608 2 26 $arrlen == -1 and $dat ne ''
161 36 0 0 $type eq 'l' and $res >= 2147483648
167 62 1632 572 $type eq 's' and $res >= 32768
260 0 36 0 $type eq 'L' and $res < 0
265 70 62 0 $type eq 'S' and $res < 0
317 0 0 0 $dat >= 55296 and $dat < 56320

or 2 conditions

line l !l condition
228 4 192 $2 || ''
234 136 64 shift @obj || 0
571 0 0 $opts{'-numDots'} || 16
572 0 0 $opts{'-numPoints'} * 2 || 8
573 0 0 $opts{'-uid'} || 9676
574 0 0 $opts{'-pname'} || 'uni25CC'

or 3 conditions

line l !l&&r !l&&!r condition
56 7 0 112 not defined $pos or $pos eq ''
58 4 3 112 $val eq 'f' or $val eq 'v'
7 20 92 $val eq 'f' or $val eq 'v' or $val =~ /^[l]/io
0 82 10 $val eq 'F' or $val =~ /^[s]/io
127 2292 0 10 not defined $arrlen or $arrlen eq ''
130 26 2308 2302 $arrlen == -1 and $dat ne '' or $i < $arrlen
576 0 0 0 $dia ||= $upem * 0.8
577 0 0 0 $sb ||= $upem * 0.1
579 0 0 0 $opts{'-dRadius'} || $R * 0.1