| blib/lib/Geo/Coder/GeoApify.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 28 | 42.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 126 | 1 | 1 | 6 | defined $apiKey and not ref $apiKey |
| 296 | 0 | 0 | 0 | $lat and $lon |
| line | l | !l | condition |
|---|---|---|---|
| 140 | 1 | 5 | $args{'host'} // "api.geoapify.com/v1/geocode" |
| 150 | 1 | 5 | $args{'min_interval'} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 132 | 4 | 2 | 0 | $args{'ua'} // "LWP::UserAgent"->new("agent", 'Geo::Coder::GeoApify' . "/$VERSION") |
| 143 | 1 | 5 | 0 | $args{'cache'} || 'CHI'->new('driver', 'Memory', 'global', 1, 'expires_in', '1 day') |
| 237 | 0 | 0 | 3 | $@ or not defined $rc |
| 238 | 0 | 0 | 0 | $@ || $res->content |
| 340 | 0 | 0 | 0 | $@ or not defined $rc |
| 341 | 0 | 0 | 0 | $@ || $res->content |