Branch Coverage

blib/lib/Locale/SubCountry.pm
Criterion Covered Total %
branch 22 36 61.1


line true false branch
421 0 1 if (length $country_or_code == 2) { }
424 0 0 if ($Locale::SubCountry::country{'_code_keyed'}{$country_or_code}) { }
438 1 0 if ($Locale::SubCountry::country{'_full_name_keyed'}{$country_or_code}) { }
495 0 2 unless ($sub_country->has_sub_countries)
512 1 1 unless (defined $code)
522 0 8 if (uc $full_name eq uc $current_name)
529 1 1 if (defined $code) { }
549 0 3 unless ($sub_country->has_sub_countries)
560 1 2 if ($uc_name)
565 2 1 if ($full_name) { }
587 1 0 if ($level) { }
614 13 0 if ($Locale::SubCountry::subcountry{$sub_country->{'_country_code'}}{'_code_keyed'}) { }
629 3 0 if ($sub_country->has_sub_countries) { }
644 5 0 if ($sub_country->has_sub_countries) { }
659 2 0 if ($sub_country->full_name_code_hash) { }
662 2 0 if (%all_full_names)
679 1 0 if ($sub_country->code_full_name_hash) { }
695 3 3 if ($input_string =~ /[\. ]/l)