line |
true |
false |
branch |
80
|
6 |
5 |
$args{'key'} ? : |
177
|
5 |
3 |
if (defined $args{'location'}) { } |
|
1 |
2 |
elsif (defined $args{'addr'}) { } |
225
|
3 |
2 |
if (defined $args{'latlng'}) { } |
|
2 |
0 |
elsif (defined $args{'lat'} and defined $args{'lon'}) { } |
227
|
0 |
3 |
unless @latlng == 2 |
247
|
6 |
5 |
if ($type eq 'forward') { } |
|
5 |
0 |
elsif ($type eq 'reverse') { } |
256
|
4 |
7 |
if $$self{'key'} |
262
|
4 |
7 |
if (blessed $res and $res->isa('HTTP::Response')) { } |
|
7 |
0 |
elsif (ref $res eq 'HASH') { } |
263
|
0 |
4 |
unless $res->is_success |
266
|
0 |
7 |
unless $$res{'success'} |
274
|
0 |
11 |
unless $content |
277
|
0 |
11 |
if $@ |
279
|
2 |
9 |
if $$self{'raise_failure'} and ($$data{'geocoding_results'}{'STATUS'}{'status'} || '') ne 'SUCCESS' |