blib/lib/Geo/Coder/Google/V3.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 25 | 32.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
87 | 0 | 0 | 0 | $self->{'client'} and $self->{'key'} |
line | l | !l | condition |
---|---|---|---|
19 | 0 | 7 | delete $param{'host'} || 'maps.googleapis.com' |
22 | 0 | 7 | delete $param{'oe'} || 'utf8' |
23 | 0 | 7 | delete $param{'channel'} || undef |
24 | 0 | 7 | delete $param{'client'} || '' |
25 | 0 | 7 | delete $param{'key'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
18 | 0 | 7 | 0 | delete $param{'ua'} || 'LWP::UserAgent'->new('agent', 'Geo::Coder::Google::V3' . "/$VERSION") |
20 | 0 | 0 | 7 | delete $param{'language'} || delete $param{'hl'} |
21 | 0 | 0 | 7 | delete $param{'region'} || delete $param{'gl'} |
107 | 0 | 0 | 0 | $data->{'status'} eq 'OK' or $data->{'status'} eq 'ZERO_RESULTS' |