Branch Coverage

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


line true false branch
185 5 0 unless exists $options->{'utf8'}
191 5 0 if $options->{'utf8'}
193 2 3 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 3 unless $struct and ref $struct eq 'HASH'
343 1 28 unless defined $msg
344 0 28 unless $lang
347 39 1 ref $_ ne 'ARRAY' ? :
354 23 5 $self->{'locales'}{$msg} && $self->{'locales'}{$msg}{$lang} ? :