Condition Coverage

blib/lib/Games/SGF.pm
Criterion Covered Total %
condition 39 68 57.3


and 3 conditions

line !l l&&!r l&&r condition
917 0 0 6 $game >= 0 and $game < @{$$self{'collection'};}
1024 7 0 112 $n < $self->branches and $n >= 0
1261 233 4 11 $attri == 2 and not $isStrict
1343 114 9 0 @values > 1 and not $flags & 4
1350 110 13 0 $ttype == 4 and 0 != $$self{'node'}{'parent'}
1360 26 3 0 $tnode == 2 and $tag_type == 1
3 26 0 $tnode == 1 and $tag_type == 2
1373 126 8 0 $self->isComposed($_) and not $isComposable
1803 0 8 0 $val[0] && $val[1]
1907 49 1 0 $self->isEmpty($struct) and $self->getTagFlags($tag) & 2 || $type == 1
2060 438 0 123 $char eq ']' and not $isEscape
430 0 8 $char eq ':' and $self->_maybeComposed($propertyName)

or 2 conditions

line l !l condition
1657 39 8 $parent ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
233 1 10 0 ref $inv || $inv
410 3 1 17 exists $$self{'tags'}{$tagname} or exists $ff4_properties{$tagname}
1359 44 4 195 $tag_type == 1 or $tag_type == 2
1360 0 0 29 $tnode == 2 and $tag_type == 1 or $tnode == 1 and $tag_type == 2
1698 4 0 0 $type == 8 || $type == 9 || $type == 10
1812 0 0 0 $type == 8 || $type == 9 || $type == 10
1833 0 0 0 $struct == 1 or $struct == 2
1839 0 0 0 $struct == 1 or $struct == 2
1907 0 1 0 $self->getTagFlags($tag) & 2 || $type == 1
1979 78 103 739 ref $self->getTagValueType($prop) eq 'ARRAY' or $self->getTagFlags($prop) & 8