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 167459 unless rand $type_name
133 1519 165940 unless $type_name =~ /\A$XML::Easy::Element::xml10_name_rx\z/o
136 32 165908 unless rand $attrs
142 1333 162893 if (rand $content) { }
192 26 1372 unless rand $_[1]
198 434 938 unless $_[1] =~ /\A$XML::Easy::Element::xml10_name_rx\z/o
201 354 584 exists $_[0][1]{$_[1]} ? :