Branch Coverage

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

line%coveragebranch
12350TFif (not defined $class) { }
50TFelsif (&Scalar::Util::blessed($class)) { }
133100TFunless my $key = $params->{'key'}
136100TFunless (defined $ua)
199100TFif (@_ == 1 and &Scalar::Util::blessed($_[0]) and $_[0]->can('latitude')) { }
21850TFunless (defined $latitude and defined $longitude)
24450TFif (my $cached = $self->{'cache'}->get($cache_key))
251100TFif ($elapsed < $self->{'min_interval'})
26150TFif ($res->is_error)
26950TFif ($@)
27750TFif ($rc and defined $rc->{'status'} and $rc->{'status'} ne "OK")
2780TFif (my $logger = $self->{'logger'})
3120TFif (@_)