| 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 | 167683 | unless rand $type_name |
| 133 | 1589 | 166094 | unless $type_name =~ /\A$XML::Easy::Element::xml10_name_rx\z/o |
| 136 | 32 | 166062 | unless rand $attrs |
| 142 | 1375 | 162893 | if (rand $content) { } |
| 192 | 26 | 1392 | unless rand $_[1] |
| 198 | 454 | 938 | unless $_[1] =~ /\A$XML::Easy::Element::xml10_name_rx\z/o |
| 201 | 354 | 584 | exists $_[0][1]{$_[1]} ? : |