Condition Coverage

blib/lib/XML/MyXML.pm
Criterion Covered Total %
condition 35 57 61.4


and 3 conditions

line !l l&&!r l&&r condition
302 46 0 32 not defined $stuff->{'el_name'} and defined $stuff->{'text'}
309 0 7 39 defined $stuff->{'content'} && @{$stuff->{'content'};}
344 10 0 9 defined $object->{'content'} and @{$object->{'content'};}
349 6 0 5 defined $child->{'text'} and $child->{'text'} =~ /\S/
546 0 0 12 defined $value and length $value
617 0 0 14 defined $value and length $value
643 1 1 2 defined $value and length $value

or 2 conditions

line l !l condition
133 181 5 shift() || {}
134 0 186 shift() || {}
171 3 0 shift() || {}
191 18 25 shift() || {}
332 0 0 shift() || {}
339 16 3 shift() || 0
340 19 0 shift() || {}
536 2 19 shift() || {}
600 11 0 shift() || {}
631 4 0 shift() || {}
676 4 3 shift() || {}
687 57 0 shift() || {}
698 57 0 shift() || {}
720 0 0 shift() || {}
750 0 2 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
199 4 1 38 $flags->{'bytes'} or $flags->{'file'}
201 5 0 0 not defined $encoding or $encoding =~ /^utf\-?8\z/i