blib/lib/Geo/What3Words.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 18 | 50.0 |
line | true | false | branch |
---|---|---|---|
55 | 0 | 0 | $res ? : |
65 | 0 | 0 | if ($res and XXX and exists $res->{'coordinates'}) |
76 | 0 | 0 | if ($res and XXX and exists $res->{'words'}) |
91 | 2 | 7 | unless $words |
92 | 3 | 4 | if $words =~ /^(\p{Lower}+)\.(\p{Lower}+)\.(\p{Lower}+)$/ |
145 | 1 | 3 | unless defined $rh_fields->{$key} |
155 | 1 | 0 | unless ($response->{'success'}) |
171 | 0 | 2 | unless $self->{'logging'} |
173 | 2 | 0 | if (XXX) { } |