Branch Coverage

blib/lib/Geo/Distance/Google.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
55 0 0 if (@_)
62 0 0 if (@_)
71 0 0 if @_
94 0 0 if (ref $p{$k} ne 'ARRAY')
103 0 0 &Encode::is_utf8($origins) ? :
104 0 0 &Encode::is_utf8($destinations) ? :
106 0 0 $$self{'https'} ? :
112 0 0 $$self{'sensor'} ? :
0 0 $$self{'units'} ? :
0 0 defined $$self{'mode'} ? :
0 0 $p{'mode'} ? :
0 0 defined $$self{'avoid'} ? :
0 0 $p{'avoid'} ? :
127 0 0 if defined $$self{'language'}
128 0 0 if defined $$self{'region'}
136 0 0 if ($$self{'client'} and $$self{'key'})
143 0 0 if $signature
150 0 0 if ($res->is_error)
154 0 0 unless ($res->headers->content_type =~ /json/)
166 0 0 if (not defined $$data{'status'} or $$data{'status'} ne 'OK')
178 0 0 unless defined $$data{'origin_addresses'} and defined $$data{'origin_addresses'}[$oid]
182 0 0 unless defined $$data{'rows'} and $$data{'rows'}[$oid]
190 0 0 unless defined $$elements[$did]
250 0 0 unless ref $p eq 'HASH'
252 0 0 defined $$self{$key} ? :
0 0 defined $$p{$key} ? :
260 0 0 unless $self->debug_level