line |
true |
false |
branch |
37
|
0 |
6 |
if ($args{'sensor'}) |
39
|
0 |
0 |
unless ($sensor =~ /^(false|true)$/) |
45
|
1 |
5 |
if ($args{'bounds'}) |
50
|
0 |
6 |
if %args |
56
|
0 |
17 |
if (@_) |
68
|
17 |
0 |
if ($resp->is_success) { } |
71
|
0 |
17 |
if ($raw) |
74
|
11 |
6 |
if ($res->{'status'} eq 'OK') { } |
|
1 |
5 |
elsif ($res->{'status'} eq 'ZERO_RESULTS') { } |
75
|
1 |
10 |
if (wantarray) { } |
94
|
0 |
17 |
$self->{'use_https'} ? : |
97
|
0 |
17 |
if defined $self->{'sensor'} |
98
|
1 |
16 |
if defined $self->{'region'} |
99
|
3 |
14 |
if defined $self->{'language'} |
100
|
1 |
16 |
if (defined $self->{'bounds'}) |
103
|
1 |
16 |
if defined $self->{'key'} |
113
|
0 |
1 |
if @_ |
120
|
0 |
1 |
if @_ |
126
|
0 |
0 |
if @_ |
134
|
5 |
2 |
if (@_) |
136
|
1 |
4 |
if (ref $bounds ne 'ARRAY') |
139
|
1 |
3 |
if (@$bounds != 2) |
142
|
2 |
4 |
ref $_ eq 'HASH' && exists $_->{'lng'} && exists $_->{'lat'} ? : |
|
2 |
1 |
if (grep({ref $_ eq 'HASH' && exists $_->{'lng'} && exists $_->{'lat'} ? 1 : 0;} @$bounds) != 2) |