Condition Coverage

File:blib/lib/TimeZone/TimeZoneDB.pm
Coverage:62.5%

line%coveragecondition
121100
Adec
00
11
Params::Get::get_params(undef, \@_) || {}
14050
Adec
00
11
$$params{'host'} || 'api.timezonedb.com'
14367
ABdec
000
011
1X1
$$params{'cache'} || 'CHI'->new('driver', 'Memory', 'global', 0, 'expires_in', '1 day')
150100
Adec
00
11
$$params{'min_interval'} || 0
19975
ABCdec
0XX0
10X0
1100
1111
@_ == 1 and &Scalar::Util::blessed($_[0]) and $_[0]->can("latitude")
21833
ABdec
0X0
100
111
defined $latitude and defined $longitude
27725
ABCdec
0XX0
10X0
1100
1111
$rc and defined $$rc{"status"} and $$rc{"status"} ne "OK"