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
141 0 0 0 defined $self->{'key'} and length $self->{'key'}
146 0 0 0 $self->{'client'} and $self->{'key'}

or 2 conditions

line l !l condition
80 0 11 delete $args{'host'} || 'maps.googleapis.com'
84 0 11 delete $args{'oe'} || 'utf8'
85 0 11 delete $args{'sensor'} || 0
86 0 11 delete $args{'client'} || ''
87 0 11 delete $args{'key'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
79 0 11 0 delete $args{'ua'} || 'LWP::UserAgent'->new('agent', 'Geo::Coder::GooglePlaces::V3' . "/$VERSION")
82 0 0 11 delete $args{'language'} || delete $args{'hl'}
83 0 0 11 delete $args{'region'} || delete $args{'gl'}
166 0 0 0 $data->{'status'} eq "OK" or $data->{'status'} eq "ZERO_RESULTS"