Branch Coverage

blib/lib/Locale/Wolowitz.pm
Criterion Covered Total %
branch 23 34 67.6


line true false branch
185 3 0 unless exists $options->{'utf8'}
191 3 0 if $options->{'utf8'}
193 2 1 if $path
216 0 3 unless $path
223 1 2 if (-d $path) { }
2 0 elsif (-e $path) { }
225 0 1 unless opendir PATH, $path
231 0 1 unless closedir PATH
244 0 4 unless open FILE, "$path/$_"
248 0 4 unless close FILE
254 2 2 if (/\.coll\.json$/) { }
2 0 elsif (/\.json$/) { }
306 0 1 unless $struct and ref $struct eq 'HASH'
333 1 21 unless defined $msg
334 0 21 unless $lang
336 16 5 $self->{'locales'}{$msg} && $self->{'locales'}{$msg}{$lang} ? :
338 9 12 if (scalar @args)