Condition Coverage

File:blib/lib/Weather/Meteo.pm
Coverage:46.3%

line%coveragecondition
126100
Adec
00
11
Params::Get::get_params(undef, \@_) || {}
14350
Adec
00
11
$params->{'host'} || 'archive-api.open-meteo.com'
14667
ABdec
000
011
1X1
$params->{'cache'} || 'CHI'->new('driver', 'Memory', 'global', 1, 'expires_in', '1 hour')
153100
Adec
00
11
$params->{'min_interval'} || 0
19525
ABCdec
0XX0
10X0
1100
1111
scalar @_ == 2 and &Scalar::Util::blessed($_[0]) and $_[0]->can("latitude")
2010
ABdec
0X0
100
111
$_[0]->can("tz") and $ENV{'TIMEZONEDB_KEY'}
21250
Adec
00
11
$params->{'tz'} || 'Europe/London'
21440
ABCDdec
0XXX0
10XX0
110X0
11100
11111
not defined $latitude and defined $location and &Scalar::Util::blessed($location) and $location->can("latitude")
21950
ABCdec
0XX0
10X0
1100
1111
defined $latitude and defined $longitude and defined $date
24133
ABdec
0X0
100
111
$latitude =~ /^-?\d+(\.\d+)?$/ and $longitude =~ /^-?\d+(\.\d+)?$/
24833
ABdec
0X0
100
111
&Scalar::Util::blessed($date) and $date->can("strftime")