| lib/Geo/Coder/OpenCage.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 3 | 20 | 15.0 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 1 | 1 | unless ($params{'api_key'}) |
| 28 | 0 | 1 | if (defined($params{'http'} && $params{'http'} == 1)) |
| 45 | 0 | 0 | if (defined $ua) |
| 77 | 0 | 0 | if (defined $params{'location'}) { } |
| 85 | 0 | 0 | unless (defined $params{$k}) |
| 89 | 0 | 0 | unless ($params{$k}) |
| 111 | 0 | 0 | &blessed($response) && $response->isa('HTTP::Response') ? : |
| 115 | 0 | 0 | ref $response eq 'HTTP::Response' ? : |
| 119 | 0 | 0 | unless ($is_success) |
| 131 | 0 | 0 | unless (defined $params{$k}) |