Condition Coverage

blib/lib/Geo/Coder/GooglePlaces/V3.pm
Criterion Covered Total %
condition 8 28 28.5


and 3 conditions

line !l l&&!r l&&r condition
133 0 0 0 defined $self->{'key'} and length $self->{'key'}
138 0 0 0 $self->{'client'} and $self->{'key'}

or 2 conditions

line l !l condition
72 0 10 delete $param{'host'} || 'maps.googleapis.com'
76 0 10 delete $param{'oe'} || 'utf8'
77 0 10 delete $param{'sensor'} || 0
78 0 10 delete $param{'client'} || ''
79 0 10 delete $param{'key'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
71 0 10 0 delete $param{'ua'} || 'LWP::UserAgent'->new('agent', 'Geo::Coder::GooglePlaces::V3' . "/$VERSION")
74 0 0 10 delete $param{'language'} || delete $param{'hl'}
75 0 0 10 delete $param{'region'} || delete $param{'gl'}
158 0 0 0 $data->{'status'} eq "OK" or $data->{'status'} eq "ZERO_RESULTS"