| blib/lib/XML/Liberal/Remedy/UnclosedHTML.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 3 | 4 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 40 | 5 | unless my($unclosed, $detected) = $error->message =~ /$ERROR_RX/ |
| 22 | 5 | 0 | if $$xml_ref =~ s[( \Q$detected\E \s* > \z )][$unclosed>$1$tail]msx |