| blib/lib/Data/Validate/WithYAML/Plugin/Country.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 10 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 16 | 23 | if ($conf->{'format'} eq 'alpha-2') { } |
| 14 | 9 | elsif ($conf->{'format'} eq 'alpha-3') { } | |
| 19 | 6 | 10 | if (length $value != 2) |
| 25 | 4 | 10 | if (length $value != 3) |
| 39 | 17 | 12 | if ($lcm->code2country($value)) |