Branch Coverage

blib/lib/Locale/CA.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
45 1 5 unless defined $class
48 0 5 if (ref $_[0] eq 'HASH') { }
5 0 elsif (scalar(@_) % 2 == 0) { }
59 1 4 if (defined $lang) { }
1 3 elsif (defined $ENV{'LANG'} and $ENV{'LANG'} =~ /^fr/) { }
60 1 0 if ($lang eq 'fr' or $lang eq 'en') { }