line |
true |
false |
branch |
51
|
0 |
11 |
unless $class |
53
|
0 |
11 |
ref $_[0] eq 'HASH' ? : |
56
|
1 |
10 |
unless (defined $args{'lat'}) |
61
|
1 |
9 |
unless (defined $args{'long'}) |
105
|
0 |
3 |
unless $location |
155
|
1 |
4 |
if ($self->{'location'}) |
160
|
0 |
4 |
if ($rc) |
166
|
15 |
25 |
if (my $value = $self->{$field} || $$self{ucfirst $field}) |
167
|
11 |
4 |
if ($rc) { } |
|
0 |
4 |
elsif ($rc) { } |
168
|
2 |
9 |
if ($field eq 'street' or $field eq 'road') { } |
169
|
2 |
0 |
if ($self->{'number'} or $self->{'house_number'}) { } |
181
|
15 |
0 |
if (my $country = $self->{'country'} // $self->{'Country'}) |
182
|
12 |
3 |
if (uc $country eq 'US') { } |
|
0 |
3 |
elsif ($country eq 'Canada' or $country eq 'Australia') { } |
|
3 |
0 |
elsif (uc $country eq 'GB') { } |
183
|
4 |
7 |
if ($field eq "state" or $field eq "region" or $field eq "country") |
185
|
3 |
2 |
if (lc $field eq "country") |
190
|
0 |
0 |
if ($field eq "state") |
194
|
1 |
2 |
if ($field eq "country") |
200
|
6 |
9 |
if ($leave_case) { } |
204
|
0 |
9 |
if ($field eq 'street' || $field eq 'road' and $rc =~ /(.+)\s([NS][ew])$/) |
223
|
5 |
9 |
if ($rc) |
249
|
9 |
3 |
if $key eq "DESTROY" |
253
|
1 |
2 |
if (my $value = shift()) |