| line | % | coverage | condition |
| 126 | 100 | | Params::Get::get_params(undef, \@_) || {} |
| 143 | 50 | | $params->{'host'} || 'archive-api.open-meteo.com' |
| 146 | 67 | | $params->{'cache'} || 'CHI'->new('driver', 'Memory', 'global', 1, 'expires_in', '1 hour') |
| 153 | 100 | | $params->{'min_interval'} || 0 |
| 195 | 25 | | scalar @_ == 2 and &Scalar::Util::blessed($_[0]) and $_[0]->can("latitude") |
| 201 | 0 | | $_[0]->can("tz") and $ENV{'TIMEZONEDB_KEY'} |
| 212 | 50 | | $params->{'tz'} || 'Europe/London' |
| 214 | 40 | | A | B | C | D | dec |
|---|
| 0 | X | X | X | 0 | | 1 | 0 | X | X | 0 | | 1 | 1 | 0 | X | 0 | | 1 | 1 | 1 | 0 | 0 | | 1 | 1 | 1 | 1 | 1 |
| not defined $latitude and defined $location and &Scalar::Util::blessed($location) and $location->can("latitude") |
| 219 | 50 | | defined $latitude and defined $longitude and defined $date |
| 241 | 33 | | $latitude =~ /^-?\d+(\.\d+)?$/ and $longitude =~ /^-?\d+(\.\d+)?$/ |
| 248 | 33 | | &Scalar::Util::blessed($date) and $date->can("strftime") |