| line | % | coverage | condition |
| 102 | 33 | | ref $proto || $proto |
| 108 | 67 | | -d $openaddr and -r $openaddr |
| 183 | 0 | | $l = $self->geocode("location", $words[$offset]) and ref $l |
| 194 | 0 | | $region and $region ne "US" |
| 195 | 0 | | $l = $self->geocode("location", "$addr, US") and ref $l |
| 203 | 0 | | $region and $region ne "CA" |
| 204 | 0 | | $l = $self->geocode("location", "$addr, Canada") and ref $l |
| 212 | 0 | | $region and $region ne "US" |
| 213 | 0 | | $l = $self->geocode("location", "$addr, US") and ref $l |
| 223 | 0 | | $region and $region ne "CA" |
| 224 | 0 | | $l = $self->geocode("location", "$addr, Canada") and ref $l |
| 234 | 0 | | not $region and ($l = $self->geocode("location", $addr) and ref $l) |
| 0 | | $l = $self->geocode("location", "$addr, $region") and ref $l |
| 0 | | $region and ($l = $self->geocode("location", "$addr, $region") and ref $l) |
| 0 | | $l = $self->geocode("location", $addr) and ref $l |
| 247 | 0 | | $l = $self->geocode("location", $addr) and ref $l |
| 341 | 0 | | $location =~ /USA$/ or $location =~ /United States$/ |
| 342 | 0 | | $$self{"ap"}{"us"} // "Lingua::EN::AddressParse"->new("country", "US", "auto_clean", 1, "force_case", 1, "force_post_code", 0) |
| 345 | 0 | | $$self{"ap"}{"gb"} // "Lingua::EN::AddressParse"->new("country", "GB", "auto_clean", 1, "force_case", 1, "force_post_code", 0) |
| 348 | 0 | | $$self{"ap"}{"ca"} // "Lingua::EN::AddressParse"->new("country", "CA", "auto_clean", 1, "force_case", 1, "force_post_code", 0) |
| 351 | 0 | | $$self{"ap"}{"au"} // "Lingua::EN::AddressParse"->new("country", "AU", "auto_clean", 1, "force_case", 1, "force_post_code", 0) |
| 407 | 0 | | $addr{"house_number"} and $param{"exact"} |
| 423 | 0 | | not $location =~ /\sCounty,/i and my $href = 'Geo::StreetAddress::US'->parse_location($l) || 'Geo::StreetAddress::US'->parse_address($l) |
| 0 | | 'Geo::StreetAddress::US'->parse_location($l) || 'Geo::StreetAddress::US'->parse_address($l) |
| 436 | 0 | | $$href{"type"} and my $type = &Geo::Coder::Free::_abbreviate($$href{"type"}) |
| 506 | 0 | | uc $country eq "ENGLAND" or uc $country eq "SCOTLAND" or uc $country eq "WALES" |
| 607 | 0 | | 'Geo::StreetAddress::US'->parse_address($lookup) || 'Geo::StreetAddress::US'->parse_location($lookup) |
| 795 | 0 | | $c eq "au" and length $state > 3 |
| 827 | 0 | | $street and $param{"exact"} |
| 868 | 0 | | require Geo::Address::Parser and "Geo::Address::Parser"->import |
| 898 | 0 | | $libpostal_is_installed == 1 and my(%addr) = Geo::libpostal::parse_address($location) |
| 900 | 0 | | $addr{"country"} and $addr{"state"} and $addr{"country"} =~ /^(Canada|United States|USA|US)$/i |
| 1002 | 0 | | $$self{'openaddr_db'} || 'Geo::Coder::Free::DB::openaddresses'->new('cache', $$self{'cache'} || 'CHI'->new('driver', 'Memory', 'datastore', {}), 'directory', $$self{'openaddr'}, 'id', 'md5', 'no_entry', 1) |
| 1007 | 0 | | $$self{"geo_hash"} ||= "Geo::Hash"->new |