Branch Coverage

blib/lib/Weather/Meteo.pm
Criterion Covered Total %
branch 5 32 15.6


line true false branch
56 1 4 if (not defined $class) { }
1 3 elsif (ref $class) { }
65 4 0 unless (defined $ua)
94 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) { }
101 0 0 if ($_[0]->can("tz") and $ENV{'TIMEZONEDB_KEY'})
116 0 0 unless (defined $latitude)
121 0 0 if ($date =~ /^(\d{4})-/) { }
124 0 0 if $1 < 1940
151 0 0 if ($res->is_error)
158 0 0 if (my $rc = $json->decode($res->decoded_content))
159 0 0 if ($rc->{'error'})
163 0 0 if (defined $rc->{'hourly'})
192 0 0 if (@_)