Condition Coverage

blib/lib/XML/Tiny/DOM/Element.pm
Criterion Covered Total %
condition 11 14 78.5


and 3 conditions

line !l l&&!r l&&r condition
107 0 209 131 $$childnode{'type'} eq 'e' and $$childnode{'name'} eq $nodename
146 0 1 32 ref $c eq 'ARRAY' and defined $$c[0]{'type'}
1 2 30 ref $c eq 'ARRAY' and defined $$c[0]{'type'} and $$c[0]{'type'} eq 't'
0 2 1 ref $c eq 'ARRAY' and keys %{$$c[0];} == 0

or 2 conditions

line l !l condition
97 14 84 shift() || 0