| line |
true |
false |
branch |
|
54
|
1 |
12 |
if (ref $_[0] eq 'HASH') { } |
|
|
0 |
12 |
elsif (ref $_[0]) { } |
|
|
12 |
0 |
elsif (@_ % 2 == 0) { } |
|
63
|
1 |
12 |
if (not defined $class) { } |
|
|
0 |
12 |
elsif (ref $class) { } |
|
72
|
1 |
11 |
unless (defined $args{'lat'}) |
|
77
|
1 |
10 |
unless (defined $args{'long'}) |
|
145
|
1 |
3 |
unless (defined $location) |
|
198
|
0 |
0 |
if (defined $self->{'key'}) |
|
199
|
0 |
0 |
if defined $self->{'tz'} |
|
201
|
0 |
0 |
unless (defined $self->{'timezonedb'}) |
|
234
|
1 |
4 |
if ($self->{'location'}) |
|
239
|
0 |
4 |
if ($rc) |
|
245
|
15 |
25 |
if (my $value = $self->{$field} || $$self{ucfirst $field}) |
|
246
|
11 |
4 |
if ($rc) { } |
|
|
0 |
4 |
elsif ($rc) { } |
|
247
|
2 |
9 |
if ($field eq 'street' or $field eq 'road') { } |
|
248
|
2 |
0 |
if ($self->{'number'} or $self->{'house_number'}) { } |
|
260
|
15 |
0 |
if (my $country = $self->{'country'} // $self->{'Country'}) |
|
261
|
12 |
3 |
if (uc $country eq 'US') { } |
|
|
0 |
3 |
elsif ($country eq 'Canada' or $country eq 'Australia') { } |
|
|
3 |
0 |
elsif (uc $country eq 'GB') { } |
|
262
|
4 |
7 |
if ($field eq "state" or $field eq "region" or $field eq "country") |
|
264
|
3 |
2 |
if (lc $field eq "country") |
|
269
|
0 |
0 |
if ($field eq "state") |
|
273
|
1 |
2 |
if ($field eq "country") |
|
279
|
6 |
9 |
if ($leave_case) { } |
|
283
|
0 |
9 |
if ($field eq 'street' || $field eq 'road' and $rc =~ /(.+)\s([NS][ew])$/) |
|
302
|
5 |
9 |
if ($rc) |
|
328
|
10 |
3 |
if $key eq "DESTROY" |
|
332
|
1 |
2 |
if (my $value = shift()) |