blib/lib/Geo/Coder/GooglePlaces/V3.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 28 | 28.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
132 | 0 | 0 | 0 | defined $self->{'key'} and length $self->{'key'} |
137 | 0 | 0 | 0 | $self->{'client'} and $self->{'key'} |
line | l | !l | condition |
---|---|---|---|
72 | 0 | 9 | delete $param{'host'} || 'maps.googleapis.com' |
76 | 0 | 9 | delete $param{'oe'} || 'utf8' |
77 | 0 | 9 | delete $param{'sensor'} || 0 |
78 | 0 | 9 | delete $param{'client'} || '' |
79 | 0 | 9 | delete $param{'key'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
71 | 0 | 9 | 0 | delete $param{'ua'} || 'LWP::UserAgent'->new('agent', 'Geo::Coder::GooglePlaces::V3' . "/$VERSION") |
74 | 0 | 0 | 9 | delete $param{'language'} || delete $param{'hl'} |
75 | 0 | 0 | 9 | delete $param{'region'} || delete $param{'gl'} |
157 | 0 | 0 | 0 | $data->{'status'} eq 'OK' or $data->{'status'} eq 'ZERO_RESULTS' |