blib/lib/Geo/Distance/Google.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 43 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
136 | 0 | 0 | 0 | $$self{'client'} and $$self{'key'} |
178 | 0 | 0 | 0 | defined $$data{'origin_addresses'} and defined $$data{'origin_addresses'}[$oid] |
182 | 0 | 0 | 0 | defined $$data{'rows'} and $$data{'rows'}[$oid] |
line | l | !l | condition |
---|---|---|---|
21 | 0 | 0 | delete $param{'host'} || 'maps.googleapis.com' |
25 | 0 | 0 | delete $param{'oe'} || 'utf8' |
26 | 0 | 0 | delete $param{'sensor'} || 0 |
27 | 0 | 0 | delete $param{'client'} || '' |
28 | 0 | 0 | delete $param{'key'} || '' |
29 | 0 | 0 | delete $param{'units'} || '' |
32 | 0 | 0 | delete $param{'https'} || 0 |
33 | 0 | 0 | delete $param{'debug'} || 0 |
167 | 0 | 0 | $$data{'status'} || 'Invalid status' |
247 | 0 | 0 | shift() || (return ()) |
248 | 0 | 0 | shift() || (return ()) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
20 | 0 | 0 | 0 | delete $param{'ua'} || 'LWP::UserAgent'->new('agent', 'Geo::Distance::Google' . "/$VERSION") |
23 | 0 | 0 | 0 | delete $param{'language'} || delete $param{'hl'} |
24 | 0 | 0 | 0 | delete $param{'region'} || delete $param{'gl'} |
166 | 0 | 0 | 0 | not defined $$data{'status'} or $$data{'status'} ne 'OK' |