| line | % | coverage | condition |
| 124 | 33 | | ref $proto || $proto |
| 130 | 67 | | -d $openaddr and -r $openaddr |
| 183 | 33 | | @_ == 1 && !ref($_[0]) |
| 214 | 0 | | $l = $self->geocode("location", $words[$offset]) and ref $l |
| 225 | 0 | | $region and $region ne "US" |
| 226 | 0 | | $l = $self->geocode("location", "$addr, US") and ref $l |
| 234 | 0 | | $region and $region ne "CA" |
| 235 | 0 | | $l = $self->geocode("location", "$addr, Canada") and ref $l |
| 243 | 0 | | $region and $region ne "US" |
| 244 | 0 | | $l = $self->geocode("location", "$addr, US") and ref $l |
| 254 | 0 | | $region and $region ne "CA" |
| 255 | 0 | | $l = $self->geocode("location", "$addr, Canada") and ref $l |
| 265 | 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 |
| 276 | 0 | | $l = $self->geocode("location", $addr) and ref $l |
| 368 | 33 | | $location =~ /USA$/ or $location =~ /United States$/ |
| 369 | 0 | | $$self{"ap"}{"us"} // "Lingua::EN::AddressParse"->new("country", "US", "auto_clean", 1, "force_case", 1, "force_post_code", 0) |
| 372 | 0 | | $$self{"ap"}{"gb"} // "Lingua::EN::AddressParse"->new("country", "GB", "auto_clean", 1, "force_case", 1, "force_post_code", 0) |
| 375 | 0 | | $$self{"ap"}{"ca"} // "Lingua::EN::AddressParse"->new("country", "CA", "auto_clean", 1, "force_case", 1, "force_post_code", 0) |
| 378 | 0 | | $$self{"ap"}{"au"} // "Lingua::EN::AddressParse"->new("country", "AU", "auto_clean", 1, "force_case", 1, "force_post_code", 0) |
| 409 | 0 | | $_locale_ca //= "Locale::CA"->new |
| 414 | 0 | | $_locale_us //= "Locale::US"->new |
| 431 | 0 | | $addr{"house_number"} and $$param{"exact"} |
| 447 | 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) |
| 450 | 0 | | $_locale_us //= "Locale::US"->new |
| 459 | 0 | | $$href{"type"} and my $type = _abbreviate($$href{"type"}) |
| 487 | 0 | | $_locale_us //= "Locale::US"->new |
| 523 | 25 | | uc $country eq "ENGLAND" or uc $country eq "SCOTLAND" or uc $country eq "WALES" |
| 534 | 0 | | $_locale_us //= "Locale::US"->new |
| 560 | 0 | | $_locale_us //= "Locale::US"->new |
| 618 | 0 | | 'Geo::StreetAddress::US'->parse_address($lookup) || 'Geo::StreetAddress::US'->parse_location($lookup) |
| 629 | 0 | | $_locale_us //= "Locale::US"->new |
| 720 | 0 | | $_locale_ca //= "Locale::CA"->new |
| 737 | 0 | | $_locale_ca //= "Locale::CA"->new |
| 805 | 0 | | $c eq "au" and length $state > 3 |
| 837 | 0 | | $street and $$param{"exact"} |
| 859 | 0 | | $_locale_ca //= "Locale::CA"->new |
| 866 | 0 | | $_locale_us //= "Locale::US"->new |
| 878 | 0 | | require Geo::Address::Parser and "Geo::Address::Parser"->import |
| 906 | 0 | | $libpostal_is_installed == 1 and my(%addr) = Geo::libpostal::parse_address($location) |
| 907 | 0 | | $addr{"country"} and $addr{"state"} and $addr{"country"} =~ /^(Canada|United States|USA|US)$/i |
| 915 | 0 | | $_locale_ca //= "Locale::CA"->new |
| 922 | 0 | | $_locale_us //= "Locale::US"->new |
| 1005 | 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) |
| 1010 | 0 | | $$self{"geo_hash"} ||= "Geo::Hash"->new |