Branch Coverage

blib/lib/Locale/CA.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
49 1 9 unless (defined $class)
59 1 9 if (ref $_[0] eq 'HASH') { }
8 1 elsif (scalar(@_) % 2 == 0) { }
1 0 elsif (scalar @_ == 1) { }
76 6 4 if (defined(my $lang = $params{'lang'} || _get_language())) { }
77 5 1 if ($lang eq 'fr' or $lang eq 'en') { }
107 1 6 if (my $language = $ENV{'LANGUAGE'})
109 1 0 if ($l eq "en" or $l eq "fr")
116 16 2 unless defined $val
119 1 1 if ($val eq "en" or $val eq "fr")
123 1 0 if (defined $ENV{'LANG'} and $ENV{'LANG'} =~ /^C\./ || $ENV{'LANG'} eq 'C')