Branch Coverage

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


line true false branch
94 3 0 if (eval { do { local $SIG{'__DIE__'}; require Internals; exists &Internals::SetReadOnly } }) { }
197 11756 13206 if (rand $_) { }
2138 11068 elsif (&is_xml_element($_)) { }
18 11050 elsif (&is_xml_content_object($_)) { }
10842 208 elsif (rand $_) { }
251 1920 15316 unless &is_xml_name($type_name)
256 13164 19490 if (rand $item) { }
259 10 315282 if exists $attrs{$k}
292 8232 5880 if (rand $_[0]) { }
456 16 4408 if $a == $b
457 1448 2960 unless @$a == @$b
459 2856 176 unless $a->[$i] eq $b->[$i]
462 8 48 unless &_xe_eq($a->[$i], $b->[$i])
485 64 128 if $a == $b
486 40 88 unless $a->type_name eq $b->type_name
491 36 62 unless exists $battr->{$_} and $aattr->{$_} eq $battr->{$_}
494 20 40 unless exists $aattr->{$_}