blib/lib/Geo/What3Words.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 26 | 34.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
64 | 0 | 0 | 0 | $res and XXX |
0 | 0 | 0 | $res and XXX and exists $res->{'coordinates'} | |
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/v3/' |
27 | 3 | 1 | $params{'key'} || die('API key not set') |
35 | 3 | 0 | $Geo::What3Words::VERSION || '' |
134 | 1 | 0 | shift() || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
33 | 3 | 0 | 0 | $params{'ua'} || 'HTTP::Tiny'->new |
110 | 0 | 0 | 1 | shift() || $self->{'language'} |