| blib/lib/Geo/What3Words.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 18 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 56 | 0 | 0 | $res ? : |
| 66 | 0 | 0 | if ($res and is_hashref($res) and exists $res->{'coordinates'}) |
| 77 | 0 | 0 | if ($res and is_hashref($res) and exists $res->{'words'}) |
| 92 | 2 | 7 | unless $words |
| 93 | 3 | 4 | if $words =~ /^(\p{Lower}+)\.(\p{Lower}+)\.(\p{Lower}+)$/ |
| 147 | 1 | 3 | unless defined $rh_fields->{$key} |
| 157 | 1 | 0 | unless ($response->{'success'}) |
| 173 | 0 | 2 | unless $self->{'logging'} |
| 175 | 2 | 0 | if (is_coderef($self->{'logging'})) { } |