Branch Coverage

blib/lib/simpleXMLParse.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
40 0 0 if (@_ != 1)
46 0 0 if (ref $inputfile eq 'HASH')
48 0 0 if $$inputfile{'style'} eq '2'
53 0 0 unless open INFILE, "$fn"
60 0 0 if ($altstyle)
78 0 0 if (ref $i eq 'HASH') { }
80 0 0 if ($j =~ /^(.*?)\_(.*?)\_([0-9]+)\_attr$/) { }
83 0 0 if (ref $$i{$tagnm} eq 'ARRAY') { }
85 0 0 if (ref $$i{$tagnm}[$cnt] eq '')
88 0 0 unless ($hold =~ /^\s*$/)
97 0 0 if (ref $$i{$tagnm} eq 'HASH') { }
107 0 0 unless ($hold =~ /^\s*$/)
119 0 0 if (ref $i eq 'ARRAY')
165 0 0 if ($xml =~ m[^[\s\n]*\<$firsttag(\>|\s[^\>]*[^/]\>)(.*?)\(.*)$]) { }
173 0 0 if ($xml =~ m[^[\s\n]*\<$firsttag(/\>|\s[^\>]*/\>)(.*)$]) { }
178 0 0 unless (ref $xml)
189 0 0 if ($xmlfragment =~ m[^(.*?)\(.*)$]) { }
217 0 0 if ($xmlfragment =~ m[^(.*?)\<$firsttag(\>|\s[^\>]*[^/]\>)(.*?)\(.*)$]) { }
220 0 0 unless ($retflag)
229 0 0 if ($xmlfragment =~ m[^(.*?)\<$firsttag(/\>|\s[^\>]*/\>)(.*)$]) { }
230 0 0 unless ($retflag)
259 0 0 if ($opening{$k} > $closing{$k})
265 0 0 if $flag
271 0 0 if ($xmlfragment2 =~ m[(.*?)\(.*)$]) { }
300 0 0 if (@retarr)
307 0 0 if (ref $remainderparse eq 'HASH')
312 0 0 if (keys %{$rethash;}) { }