| blib/lib/Geo/What3Words.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 18 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 54 | 0 | 0 | $res ? : |
| 64 | 0 | 0 | if ($res and XXX and exists $res->{'coordinates'}) |
| 75 | 0 | 0 | if ($res and XXX and exists $res->{'words'}) |
| 90 | 2 | 7 | unless $words |
| 91 | 3 | 4 | if $words =~ /^(\p{Lower}+)\.(\p{Lower}+)\.(\p{Lower}+)$/ |
| 144 | 1 | 3 | unless defined $rh_fields->{$key} |
| 154 | 1 | 0 | unless ($response->{'success'}) |
| 170 | 0 | 2 | unless $self->{'logging'} |
| 172 | 2 | 0 | if (XXX) { } |