| blib/lib/Weather/WeatherKit.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 26 | 76.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 249 | 1 | 1 | 8 | $args{'team_id'} and length $args{'team_id'} == 10 |
| 299 | 1 | 4 | 4 | not $args{'exp'} and $self->{'jwt_exp'} |
| 4 | 0 | 4 | not $args{'exp'} and $self->{'jwt_exp'} and $self->{'jwt_exp'} >= time + 600 |
| line | l | !l | condition |
|---|---|---|---|
| 268 | 1 | 3 | $args{'expiration'} || 7200 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 258 | 13 | 2 | 0 | $args{$_} || croak("$_ required.") |
| 284 | 1 | 7 | 0 | $args{'language'} ||= $self->{'language'} |
| 288 | 1 | 0 | 3 | $self->{'ua'} or $self->{'curl'} |
| 301 | 1 | 4 | 0 | $args{'iat'} ||= time |
| 302 | 1 | 4 | 0 | $args{'exp'} || time + $self->{'expiration'} |