Branch Coverage

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


line true false branch
415 0 1 if (length $country_or_code == 2) { }
418 0 0 if ($Locale::SubCountry::country{'_code_keyed'}{$country_or_code}) { }
432 1 0 if ($Locale::SubCountry::country{'_full_name_keyed'}{$country_or_code}) { }
489 0 2 unless ($sub_country->has_sub_countries)
506 1 1 unless (defined $code)
516 0 8 if (uc $full_name eq uc $current_name)
523 1 1 if (defined $code) { }
543 0 3 unless ($sub_country->has_sub_countries)
554 1 2 if ($uc_name)
559 2 1 if ($full_name) { }
581 1 0 if ($level) { }
608 13 0 if ($Locale::SubCountry::subcountry{$sub_country->{'_country_code'}}{'_code_keyed'}) { }
623 3 0 if ($sub_country->has_sub_countries) { }
638 5 0 if ($sub_country->has_sub_countries) { }
653 2 0 if ($sub_country->full_name_code_hash) { }
656 2 0 if (%all_full_names)
673 1 0 if ($sub_country->code_full_name_hash) { }
689 3 3 if ($input_string =~ /[\. ]/l)