Branch Coverage

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
180 1 0 if (ref($structure) =~ /HASH/) { }
209 1 4 unless defined $key
210 0 4 unless $lang
212 3 1 $self->{'locales'}{$key} && $self->{'locales'}{$key}{$lang} ? :
214 0 4 if (scalar @args)