blib/lib/Geo/What3Words.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 29 | 31.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
64 | 0 | 0 | 0 | $res and XXX |
0 | 0 | 0 | $res and XXX and exists $res->{'geometry'} | |
75 | 1 | 0 | 0 | $res and XXX |
1 | 0 | 0 | $res and XXX and exists $res->{'words'} |
line | l | !l | condition |
---|---|---|---|
26 | 0 | 4 | $params{'api_endpoint'} || 'https://api.what3words.com/v2/' |
27 | 3 | 1 | $params{'key'} || die('API key not set') |
35 | 3 | 0 | $Geo::What3Words::VERSION || '' |
128 | 1 | 0 | shift() || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
33 | 3 | 0 | 0 | $params{'ua'} || 'HTTP::Tiny'->new |
99 | 0 | 0 | 0 | shift() || $self->{'language'} |
108 | 0 | 0 | 1 | shift() || $self->{'language'} |