| line | % | coverage | condition |
| 152 | 100 | | Params::Get::get_params(undef, \@_) || {} |
| 174 | 100 | | $params->{$key} //= $config{$key} |
| 313 | 100 | | not defined $location or length $location == 0 |
| 396 | 33 | | ref $stored and ref $stored eq "Geo::Coder::List::_NotFound" |
| 410 | 67 | | exists $geocoder->{'limit'} and defined(my $limit = $geocoder->{'limit'}) |
| 466 | 67 | | ref $geocoder eq "Geo::Coder::US::Census" and not defined $rc[0]{'result'}{'addressMatches'}[0]{'coordinates'}{'y'} |
| 481 | 100 | | scalar @rc == 0 or ref $rc[0] eq "HASH" and scalar keys %{$rc[0];} == 0 or 0 |
| 515 | 100 | | not defined $l or $l eq "" |
| 545 | 67 | | not defined $l->{'geometry'}{'location'}{'lat'} and defined $l->{'lat'} |
| 547 | 33 | | $l->{'lng'} // $l->{'lon'} |
| 551 | 67 | | $l->{'lat'} //= $l->{'geometry'}{'location'}{'lat'} |
| 552 | 67 | | $l->{'lng'} //= $l->{'geometry'}{'location'}{'lng'} |
| 553 | 33 | | $l->{'lon'} //= $l->{'geometry'}{'location'}{'lng'} |
| 587 | 100 | | defined $l->{'lat'} and defined $l->{'lon'} |
| 667 | 67 | | defined $lat and defined $long |
| 694 | 67 | | $l->{'lat'} //= $l->{'geometry'}{'location'}{'lat'} |
| 695 | 100 | | $l->{'lng'} //= $l->{'geometry'}{'location'}{'lng'} |
| 696 | 100 | | $l->{'lon'} //= $l->{'geometry'}{'location'}{'lng'} |
| 735 | 67 | | defined $rc[0]{'long'} and not defined $rc[0]{'lng'} |
| 738 | 67 | | defined $rc[0]{'long'} and not defined $rc[0]{'lon'} |
| 743 | 67 | | defined $good_result->{'lat'} and defined $good_result->{'lng'} |
| 823 | 100 | | $ua->can("clone") and $ua->can("agent") |
| 826 | 100 | | eval {
do {
$geocoder->VERSION
}
} // "" |
| 885 | 33 | | $params->{'lat'} //= $latitude |
| 886 | 33 | | $params->{'lon'} //= $longitude |
| 900 | 67 | | exists $geocoder->{'limit'} and defined(my $limit = $geocoder->{'limit'}) |
| 975 | 67 | | $self->_cache($latlng) // eval {
do {
$geocoder->reverse_geocode(%{$params;})
}
} |
| 1104 | 50 | | $self->{'log'} // [] |
| 1163 | 100 | | $usa->{'usstnumber'} // "" |
| 1173 | 100 | | $loc->{'stnumber'} // "" |
| 1235 | 67 | | &blessed($item) and ref $item->{'geocoder'} |
| 1260 | 33 | | $duration //= $self->{'cache_part_duration'} |
| 1266 | 67 | | $duration //= $self->{'cache_hit_duration'} |
| 1298 | 33 | | ref $value and ref $value->{'geocoder'} |
| 1325 | 100 | | not defined $rc and $self->{'cache'} |
| 1336 | 100 | | ref $rc and ref $rc eq "Geo::Coder::List::_NotFound" |
| 1341 | 67 | | $rc->{'lat'} //= $rc->{'geometry'}{'location'}{'lat'} |
| 1342 | 67 | | $rc->{'lng'} //= $rc->{'geometry'}{'location'}{'lng'} |
| 1343 | 67 | | $rc->{'lon'} //= $rc->{'geometry'}{'location'}{'lng'} |