blib/lib/XML/Liberal/Remedy/InvalidEncoding.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 10 | 50.0 |
line | true | false | branch |
---|---|---|---|
13 | 101 | 5 | unless $error->message =~ /^\s*(?:(?:i18n |encoding )?error : )?input conversion failed due to input error/ |
17 | 0 | 5 | unless ($encoding) |
18 | 0 | 0 | unless $driver->guess_encodings |
23 | 5 | 0 | if ($encoding) |
24 | 5 | 0 | if $$xml_ref =~ s/$RX/$1utf-8/ |