blib/lib/Locale/Meta.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 26 | 57.6 |
line | true | false | branch |
---|---|---|---|
98 | 1 | 1 | if $path |
121 | 0 | 1 | unless $path |
128 | 1 | 0 | if (-d $path) { } |
0 | 0 | elsif (-e $path) { } | |
130 | 0 | 1 | unless opendir PATH, $path |
136 | 0 | 1 | unless closedir PATH |
149 | 0 | 2 | unless open FILE, "$path/$_" |
153 | 0 | 2 | unless close FILE |
184 | 1 | 0 | if (ref($structure) =~ /HASH/) { } |
214 | 1 | 4 | unless defined $key |
215 | 0 | 4 | unless $lang |
217 | 3 | 1 | $self->{'locales'}{$key} && $self->{'locales'}{$key}{$lang} ? : |
219 | 0 | 4 | if (scalar @args) |