Condition Coverage

blib/lib/Font/TTF/Cmap.pm
Criterion Covered Total %
condition 10 75 13.3


and 3 conditions

line !l l&&!r l&&r condition
164 0 0 0 $l >= 0 and $l < $subHeader->[1]
267 0 0 0 $s->{'Platform'} == 2 and $s->{'Encoding'} == 1
275 0 0 0 $alt and not $found
293 0 0 0 defined $self->{' mstable'} and $self->{' mstable'}{'Platform'} == 3
545 0 0 0 $j > 65535 and $s->{'Format'} == 8
658 0 0 0 $s->{'Platform'} == 3 and $s->{'Encoding'} == 10
0 0 0 $s->{'Platform'} == 3 and $s->{'Encoding'} == 10 and $s->{'Format'} == 12
0 0 0 $s->{'Platform'} == 3 and $s->{'Encoding'} == 10 and $s->{'Format'} == 12 and $max <= 65535
698 0 0 0 defined $res[$gid] and $res[$gid] > 0
0 0 0 defined $res[$gid] and $res[$gid] > 0 and $res[$gid] < $code

or 2 conditions

line l !l condition
146 0 0 $subHeaders[$subHeaderKeys[$j] = $k] ||= []
245 0 0 $self->find_ms or return undef
520 4 4 $s->{'val'}{$starts[$j]} || 0

or 3 conditions

line l !l&&r !l&&!r condition
120 0 0 0 $form == 8 or $form == 12
0 0 0 $form == 8 or $form == 12 or $form == 13
192 384 0 0 $range == 0 or $range == 65535
198 380 0 4 $id or $keepzeros
267 0 0 0 $s->{'Platform'} == 0 or $s->{'Platform'} == 2 and $s->{'Encoding'} == 1
320 2 0 0 $Font::TTF::Cmap::a->{'Platform'} <=> $Font::TTF::Cmap::b->{'Platform'} or $Font::TTF::Cmap::a->{'Encoding'} <=> $Font::TTF::Cmap::b->{'Encoding'}
342 0 0 0 $s->{'Format'} == 8 or $s->{'Format'} == 12
0 0 0 $s->{'Format'} == 8 or $s->{'Format'} == 12 or $s->{'Format'} == 13
448 4 0 376 $j == 0 or $u != $prevUSV + 1
4 0 376 $j == 0 or $u != $prevUSV + 1 or $g != $prevgid + 1
467 0 0 0 $starts[$end] - $ends[$end - 1] > ($self->{' allowholes'} ? 5 : 1) or $ends[$end] - $starts[$end] > 7
551 0 0 0 $j != $current + 1 or $s->{'val'}{$j} != ($s->{'Format'} == 13 ? $curr_glyf : $curr_glyf + 1)
716 0 0 0 $pid == 3 || $pid == 0 || $pid == 2 && $eid == 1