| line | % | coverage | condition |
| 74 | 100 | | Params::Get::get_params(undef, \@_) || {} |
| 152 | 100 | | scalar @_ and scalar(@_) % 2 == 0 |
| 234 | 67 | | $location =~ /USA?$/ or $location =~ /United States$/ |
| 235 | 33 | | $self->{'ap'}{'us'} // "Lingua::EN::AddressParse"->new("country", "US", "auto_clean", 1, "force_case", 1, "force_post_code", 0) |
| 238 | 67 | | $self->{'ap'}{'gb'} // "Lingua::EN::AddressParse"->new("country", "GB", "auto_clean", 1, "force_case", 1, "force_post_code", 0) |
| 243 | 0 | | $self->{'ap'}{'ca'} // "Lingua::EN::AddressParse"->new("country", "CA", "auto_clean", 1, "force_case", 1, "force_post_code", 0) |
| 248 | 0 | | $self->{'ap'}{'au'} // "Lingua::EN::AddressParse"->new("country", "AU", "auto_clean", 1, "force_case", 1, "force_post_code", 0) |
| 329 | 67 | | uc $row->{'state'} eq uc $addr{'state'} and uc $row->{'country'} eq uc $addr{'country'} |
| 353 | 33 | | not $location =~ /\sCounty,/i and my $href = 'Geo::StreetAddress::US'->parse_location($l) || 'Geo::StreetAddress::US'->parse_address($l) |
| 33 | | 'Geo::StreetAddress::US'->parse_location($l) || 'Geo::StreetAddress::US'->parse_address($l) |
| 366 | 67 | | $href->{'type'} and my $type = &Geo::Coder::Free::_abbreviate($href->{'type'}) |
| 401 | 33 | | $street and not $href->{'number'} |
| 486 | 100 | | $location =~ /.+,.+,.*England$/ and not $location =~ /.+,.+,.+,.*England$/ |
| 494 | 33 | | require Geo::Address::Parser and "Geo::Address::Parser"->import |
| 526 | 33 | | $libpostal_is_installed == 1 and my(%addr) = Geo::libpostal::parse_address($location) |
| 527 | 0 | | $addr{'house_number'} and not $addr{'number'} |
| 530 | 0 | | $addr{'house'} and not $addr{'name'} |
| 537 | 0 | | defined $addr{'state'} and not defined $addr{'country'} and $addr{'state'} eq "england" |
| 542 | 0 | | $addr{'country'} and $addr{'state'} || $addr{'state_district'} |
| 625 | 67 | | $addr{'name'} and not defined $addr{'number'} |
| 709 | 67 | | $match and $number_of_columns_matched >= 3 |
| 743 | 100 | | scalar @_ and scalar(@_) % 2 == 0 |
| 774 | 67 | | $latitude //= $params{'lat'} |
| 775 | 33 | | $longitude //= $params{'lon'} |
| 776 | 67 | | $longitude //= $params{'long'} |
| 779 | 67 | | defined $latitude and defined $longitude |
| 786 | 33 | | defined $row->{'latitude'} and defined $row->{'longitude'} |
| 788 | 100 | | _equal($row->{'latitude'}, $latitude, 4) and _equal($row->{'longitude'}, $longitude, 4) |
| 879 | 67 | | $char eq "," and not $in_quotes |
| 893 | 100 | | $values[$i] || '' |
| 897 | 40 | | A | B | C | D | dec |
|---|
| 0 | X | X | X | 0 | | 1 | 0 | X | X | 0 | | 1 | 1 | 0 | X | 0 | | 1 | 1 | 1 | 0 | 0 | | 1 | 1 | 1 | 1 | 1 |
| $location{'latitude'} and $location{'longitude'} and $location{'latitude'} =~ /^-?\d+\.?\d*$/ and $location{'longitude'} =~ /^-?\d+\.?\d*$/ |