Condition Coverage

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

line%coveragecondition
192100
Adec
00
11
Params::Get::get_params(undef, \@_) || {}
20167
ABdec
0X0
100
111
&Scalar::Util::blessed($params->{'ua'}) && $params->{'ua'}->can('get')
22667
ABdec
000
011
1X1
$params->{'host'} || $config{'host'}
23367
ABdec
000
011
1X1
$params->{'cache'} || 'CHI'->new('driver', 'Memory', 'global', 0, 'expires_in', $config{'cache_expires'})
23667
ABdec
000
011
1X1
$params->{'min_interval'} // $config{'min_interval'}
322100
ABCdec
0XX0
10X0
1100
1111
@_ == 1 and &Scalar::Util::blessed($_[0]) and $_[0]->can("latitude")
40775
ABCdec
0XX0
10X0
1100
1111
$rc and defined $rc->{'status'} and $rc->{'status'} ne "OK"
49580
ABCDdec
0XXX0
10XX0
110X0
11100
11111
@_ == 2 and defined $_[0] and not ref $_[0] and $_[0] eq "ua"