| lib/Data/Dump/AutoEncode.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 6 | 10 | 60.0 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 0 | 1 | unless $encoding ||= eval { do { Term::Encoding::get_encoding() } } |
| 20 | 0 | 1 | unless $ENCODER = find_encoding($encoding) |
| 24 | 0 | 2 | unless $ENCODER |
| 27 | 4 | 4 | if ($ctx->is_scalar and not $ctx->is_blessed) |
| 28 | 4 | 0 | if (&Encode::is_utf8($$ref)) |