| line | % | coverage | condition |
| 152 | 100 | | Params::Get::get_params(undef, \@_) || {} |
| 174 | 100 | | $params->{$key} //= $config{$key} |
| 309 | 100 | | not defined $location or length $location == 0 |
| 392 | 33 | | ref $stored and ref $stored eq "Geo::Coder::List::_NotFound" |
| 406 | 67 | | exists $geocoder->{'limit'} and defined(my $limit = $geocoder->{'limit'}) |
| 462 | 67 | | ref $geocoder eq "Geo::Coder::US::Census" and not defined $rc[0]{'result'}{'addressMatches'}[0]{'coordinates'}{'y'} |
| 477 | 100 | | scalar @rc == 0 or ref $rc[0] eq "HASH" and scalar keys %{$rc[0];} == 0 or 0 |
| 511 | 100 | | not defined $l or $l eq "" |
| 541 | 67 | | not defined $l->{'geometry'}{'location'}{'lat'} and defined $l->{'lat'} |
| 543 | 33 | | $l->{'lng'} // $l->{'lon'} |
| 547 | 67 | | $l->{'lat'} //= $l->{'geometry'}{'location'}{'lat'} |
| 548 | 67 | | $l->{'lng'} //= $l->{'geometry'}{'location'}{'lng'} |
| 549 | 33 | | $l->{'lon'} //= $l->{'geometry'}{'location'}{'lng'} |
| 583 | 100 | | defined $l->{'lat'} and defined $l->{'lon'} |
| 663 | 67 | | defined $lat and defined $long |
| 690 | 67 | | $l->{'lat'} //= $l->{'geometry'}{'location'}{'lat'} |
| 691 | 100 | | $l->{'lng'} //= $l->{'geometry'}{'location'}{'lng'} |
| 692 | 100 | | $l->{'lon'} //= $l->{'geometry'}{'location'}{'lng'} |
| 731 | 67 | | defined $rc[0]{'long'} and not defined $rc[0]{'lng'} |
| 734 | 67 | | defined $rc[0]{'long'} and not defined $rc[0]{'lon'} |
| 739 | 67 | | defined $good_result->{'lat'} and defined $good_result->{'lng'} |
| 819 | 100 | | $ua->can("clone") and $ua->can("agent") |
| 822 | 100 | | eval {
do {
$geocoder->VERSION
}
} // "" |
| 881 | 33 | | $params->{'lat'} //= $latitude |
| 882 | 33 | | $params->{'lon'} //= $longitude |
| 896 | 67 | | exists $geocoder->{'limit'} and defined(my $limit = $geocoder->{'limit'}) |
| 971 | 67 | | $self->_cache($latlng) // eval {
do {
$geocoder->reverse_geocode(%{$params;})
}
} |
| 1100 | 50 | | $self->{'log'} // [] |
| 1159 | 100 | | $usa->{'usstnumber'} // "" |
| 1169 | 100 | | $loc->{'stnumber'} // "" |
| 1231 | 67 | | &blessed($item) and ref $item->{'geocoder'} |
| 1256 | 33 | | $duration //= $self->{'cache_part_duration'} |
| 1262 | 67 | | $duration //= $self->{'cache_hit_duration'} |
| 1294 | 33 | | ref $value and ref $value->{'geocoder'} |
| 1321 | 100 | | not defined $rc and $self->{'cache'} |
| 1332 | 100 | | ref $rc and ref $rc eq "Geo::Coder::List::_NotFound" |
| 1337 | 67 | | $rc->{'lat'} //= $rc->{'geometry'}{'location'}{'lat'} |
| 1338 | 67 | | $rc->{'lng'} //= $rc->{'geometry'}{'location'}{'lng'} |
| 1339 | 67 | | $rc->{'lon'} //= $rc->{'geometry'}{'location'}{'lng'} |