blib/lib/Locale/Maketext/Utils/Mock.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 14 | 78.5 |
line | true | false | branch |
---|---|---|---|
21 | 0 | 10 | unless $loc_tag |
22 | 5 | 5 | unless $loc_tag =~ /^i_/ or 'Locales'->new($loc_tag) |
26 | 0 | 5 | if ($@) |
39 | 8 | 2 | if (@_ == 2) { } |
40 | 2 | 6 | if ref $class |
46 | 0 | 10 | if ref $def_hr ne 'HASH' |
49 | 4 | 12 | ref $def_hr->{$m} eq 'CODE' ? : |