Branch Coverage

blib/lib/XML/Easy/Element.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
93 6 0 if (eval { do { local $SIG{'__DIE__'}; require Internals; exists &Internals::SetReadOnly } }) { }
127 91 167571 unless rand $type_name
131 1554 166017 unless $type_name =~ /\A$XML::Easy::Element::xml10_name_rx\z/o
134 32 165985 unless rand $attrs
140 1354 162893 if (rand $content) { }
190 26 1382 unless rand $_[1]
194 444 938 unless $_[1] =~ /\A$XML::Easy::Element::xml10_name_rx\z/o
197 354 584 exists $_[0][1]{$_[1]} ? :