Condition Coverage

blib/lib/XML/Mini/Element.pm
Criterion Covered Total %
condition 27 49 55.1


and 3 conditions

line !l l&&!r l&&r condition
559 1120 0 0 $$self{'_avoidLoops'} and $child->parent
589 1 0 2 $childType and $childType =~ /XML::Mini::/
603 0 3 5 $idx < $$self{'_numChildren'} and not $foundChild
795 51 86 138 $allChildrenAreNodes and $i < $$self{'_numChildren'}

or 2 conditions

line l !l condition
56 419 0 shift() || (return undef)
215 0 7 shift() || ' '
240 15 104 shift() || 1
315 6 0 shift() || (return undef)
403 0 0 shift() || 0
708 123 5 $$self{'_numChildren'} || 0
720 27 0 ref $existing || ''
759 140 4 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
22 0 1113 0 ref $class || $class
382 1379 3 0 shift() || $self
392 735 0 0 shift() || $self
410 0 0 0 $$self{'_avoidLoops'} or $XML::Mini::AutoSetParent
465 0 0 1119 $$self{'_avoidLoops'} or $XML::Mini::AutoSetParent
491 0 0 1 $$self{'_avoidLoops'} or $XML::Mini::AutoSetParent
813 86 146 1 $allChildrenAreNodes or $newStr =~ /\n$/