line |
true |
false |
branch |
56
|
1 |
4 |
if (not defined $class) { } |
|
1 |
3 |
elsif (ref $class) { } |
65
|
4 |
0 |
unless (defined $ua) |
91
|
0 |
0 |
if (ref $_[0] eq 'HASH') { } |
|
0 |
0 |
elsif (@_ == 2 and ref($_[0]) =~ /::/ and $_[0]->can('latitude')) { } |
|
0 |
0 |
elsif (ref $_[0]) { } |
|
0 |
0 |
elsif (@_ % 2 == 0) { } |
109
|
0 |
0 |
unless (defined $latitude) |
114
|
0 |
0 |
if ($date =~ /^(\d{4})-/) { } |
117
|
0 |
0 |
if $1 < 1940 |
144
|
0 |
0 |
if ($res->is_error) |
151
|
0 |
0 |
if (my $rc = $json->decode($res->decoded_content)) |
152
|
0 |
0 |
if ($rc->{'error'}) |
156
|
0 |
0 |
if (defined $rc->{'hourly'}) |
185
|
0 |
0 |
if (@_) |