Branch Coverage

blib/lib/XML/Easy/NodeBasics.pm
Criterion Covered Total %
branch 33 34 97.0


line true false branch
97 2 0 if (eval { do { local $SIG{'__DIE__'}; require Internals; exists &Internals::SetReadOnly } }) { }
200 11420 12822 if (rand $_) { }
2138 10684 elsif (is_xml_element $_) { }
18 10666 elsif (is_xml_content_object $_) { }
10458 208 elsif (rand $_) { }
254 1880 14844 unless is_xml_name $type_name
259 12772 18874 if (rand $item) { }
261 10 304890 if exists $attrs{$k}
295 8040 5816 if (rand $_[0]) { }
459 16 4408 if $a == $b
460 1448 2960 unless @$a == @$b
462 2856 176 unless $$a[$i] eq $$b[$i]
465 8 48 unless _xe_eq $$a[$i], $$b[$i]
488 64 128 if $a == $b
489 40 88 unless $a->type_name eq $b->type_name
493 36 68 unless exists $$battr{$_} and $$aattr{$_} eq $$battr{$_}
497 20 44 unless exists $$aattr{$_}