blib/lib/Locale/Framework/gettext.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 16 | 50.0 |
line | true | false | branch |
---|---|---|---|
12 | 0 | 1 | unless my $catalog = shift() |
19 | 1 | 0 | if (not defined $$self{'lang'}) { } |
0 | 0 | elsif ($$self{'lang'} eq '') { } | |
29 | 1 | 0 | if ($local_path_prefix) |
40 | 4 | 0 | if ($$self{'lang'} ne $lang) |
48 | 4 | 0 | if ($local_path_prefix) |
297 | 0 | 4 | if ($lang eq '') |
301 | 4 | 210 | if (lc substr($l, 0, $n) eq lc $lang) |