blib/lib/Geo/What3Words.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 26 | 34.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
65 | 0 | 0 | 0 | $res and XXX |
0 | 0 | 0 | $res and XXX and exists $res->{'coordinates'} | |
76 | 1 | 0 | 0 | $res and XXX |
1 | 0 | 0 | $res and XXX and exists $res->{'words'} |
line | l | !l | condition |
---|---|---|---|
27 | 0 | 4 | $params{'api_endpoint'} || 'https://api.what3words.com/v3/' |
28 | 3 | 1 | $params{'key'} || die('API key not set') |
36 | 3 | 0 | $Geo::What3Words::VERSION || '' |
135 | 1 | 0 | shift() || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
34 | 3 | 0 | 0 | $params{'ua'} || 'HTTP::Tiny'->new |
109 | 0 | 0 | 1 | shift() || $self->{'language'} |