Condition Coverage

blib/lib/XML/MyXML.pm
Criterion Covered Total %
condition 36 62 58.0


and 3 conditions

line !l l&&!r l&&r condition
267 0 0 0 length $name and defined $value
285 0 0 30 length $name and defined $value
314 46 0 32 not defined $stuff->{'element'} and defined $stuff->{'value'}
321 4 3 39 defined $stuff->{'content'} && @{$stuff->{'content'};}
355 10 0 9 defined $object->{'content'} and @{$object->{'content'};}
369 6 0 0 defined $_->{'value'} && $_->{'value'} =~ /\A\s*\z/
552 0 0 12 defined $value and length $value
616 0 0 14 defined $value and length $value
642 1 1 2 defined $value and length $value

or 2 conditions

line l !l condition
88 0 91 shift() || {}
116 127 3 shift() || {}
117 0 130 shift() || {}
172 3 0 shift() || {}
192 17 23 shift() || {}
343 0 0 shift() || {}
350 16 3 shift() || 0
351 19 0 shift() || {}
542 2 19 shift() || {}
600 11 0 shift() || {}
631 4 0 shift() || {}
674 4 3 shift() || {}
685 62 0 shift() || {}
698 62 0 shift() || {}
725 0 0 shift() || {}
761 0 2 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
200 4 1 35 $flags->{'bytes'} or $flags->{'file'}