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