| blib/lib/XML/Liberal/Remedy/TrailingElements.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 6 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 8 | 45 | 10 | unless $error->message =~ /^parser error : Extra content at the end of the document/ |
| 13 | 0 | 10 | unless $$xml_ref =~ /\G <[-:\w]+ (?:[>\s]|\z)/msx |
| 17 | 10 | 90 | if $$xml_ref =~ s[\G ([^\s<>/]+ \s*>) (.*)][$2$1]msx |