| blib/lib/Weather/WeatherKit.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 36 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 190 | 0 | 0 | 0 | $args{'team_id'} and length $args{'team_id'} == 10 |
| 233 | 0 | 0 | 0 | defined $args{'lat'} and abs $args{'lat'} <= 90 |
| 236 | 0 | 0 | 0 | defined $args{'lon'} and abs $args{'lon'} <= 180 |
| 258 | 0 | 0 | 0 | not $args{'exp'} and $self->{'jwt_exp'} |
| 0 | 0 | 0 | not $args{'exp'} and $self->{'jwt_exp'} and $self->{'jwt_exp'} >= time + 600 |
| line | l | !l | condition |
|---|---|---|---|
| 202 | 0 | 0 | $args{'language'} || 'en_US' |
| 203 | 0 | 0 | $args{'timeout'} || 30 |
| 204 | 0 | 0 | $args{'expiration'} || 7200 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 194 | 0 | 0 | 0 | $args{$_} || croak("$_ required.") |
| 230 | 0 | 0 | 0 | $args{'language'} ||= $self->{'language'} |
| 241 | 0 | 0 | 0 | $self->{'curl'} or $self->{'ua'} |
| 260 | 0 | 0 | 0 | $args{'iat'} ||= time |
| 261 | 0 | 0 | 0 | $args{'exp'} || time + $self->{'expiration'} |