Condition Coverage

blib/lib/SOAP/DirectI/Parse.pm
Criterion Covered Total %
condition 12 24 50.0


and 3 conditions

line !l l&&!r l&&r condition
142 0 4 4 @{[] unless $$tree_root{'siblings'};} == 1 and $$tree_root{'siblings'}[0]{'namespace'} =~ /soap/i
158 0 4 0 @tags == 1 and $tags[0]{'name'} =~ /Response/i
197 2 0 2 @tags != 1 and $$tree_root{'namespace'}

or 3 conditions

line l !l&&r !l&&!r condition
41 0 4 0 ref $class || $class
68 13 0 4 $parent_tag or $str =~ s/\A\s*<\?xml[^>]*\?>//
128 13 4 0 $parent_tag || $$self{'tree'}
202 0 4 0 $$signature{'name'} ||= $$tree_root{'name'}
216 0 0 22 $$tag{'name'} =~ /^fault/ or $$tag{'name'} eq 'detail'