Branch Coverage

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


line true false branch
40 0 0 ref $_[0] eq 'HASH' ? :
0 0 @_ == 1 ? :
44 0 0 if $args{'style'} eq '2'
48 0 0 unless open INFILE, "$fn"
53 0 0 if ($altstyle)
70 0 0 if (ref $i eq 'HASH') { }
72 0 0 if ($j =~ /^(.*?)\_(.*?)\_([0-9]+)\_attr$/) { }
75 0 0 if (ref $$i{$tagnm} eq 'ARRAY') { }
77 0 0 if (ref $$i{$tagnm}[$cnt] eq '')
80 0 0 unless ($hold =~ /^\s*$/)
89 0 0 if (ref $$i{$tagnm} eq 'HASH') { }
99 0 0 unless ($hold =~ /^\s*$/)
111 0 0 if (ref $i eq 'ARRAY')
195 0 0 if ($xml =~ m[^[\s\n]*\<$firsttag(\>|\s[^\>]*[^/]\>)(.*?)\(.*)$]s) { }
203 0 0 if ($xml =~ m[^[\s\n]*\<$firsttag(/\>|\s[^\>]*/\>)(.*)$]s) { }
208 0 0 unless (ref $xml)
220 0 0 if ($xmlfragment =~ m[^(.*?)\(.*)$]s) { }
248 0 0 if ($xmlfragment =~ m[^(.*?)\<$firsttag(\>|\s[^\>]*[^/]\>)(.*?)\(.*)$]s) { }
251 0 0 unless ($retflag)
260 0 0 if ($xmlfragment =~ m[^(.*?)\<$firsttag(/\>|\s[^\>]*/\>)(.*)$]s) { }
261 0 0 unless ($retflag)
290 0 0 if ($opening{$k} > $closing{$k})
296 0 0 if $flag
301 0 0 if ($xmlfragment2 =~ m[(.*?)\(.*)$]s) { }
325 0 0 if (@retarr)
332 0 0 if (ref $remainderparse eq 'HASH')
337 0 0 if (keys %{$rethash;}) { }