| line |
true |
false |
branch |
|
54
|
1 |
2 |
unless (defined $class) |
|
62
|
2 |
0 |
unless (defined $ua) |
|
66
|
2 |
0 |
unless (defined $params->{'host'}) |
|
91
|
0 |
1 |
unless my $location = $params->{'location'} |
|
94
|
0 |
1 |
unless ($params->{'location'} =~ /\D/) |
|
99
|
0 |
1 |
if (&Encode::is_utf8($location)) |
|
104
|
0 |
1 |
if ($location =~ /(.+),\s*England$/i) |
|
109
|
0 |
1 |
if (wantarray) |
|
118
|
0 |
1 |
if ($res->is_error) |
|
128
|
0 |
1 |
unless (defined $rc) |
|
129
|
0 |
0 |
if ($@) |
|
137
|
0 |
0 |
if ($rc->{'otherlocations'} and $rc->{'otherlocations'}{'loc'} and ref $rc->{'otherlocations'}{'loc'} eq "ARRAY") |
|
140
|
0 |
0 |
if (wantarray) |
|
170
|
0 |
0 |
if (@_) |
|
189
|
0 |
0 |
unless my $latlng = $params->{'latlng'} |