| blib/lib/Apple/AppStoreConnect.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 30 | 35 | 85.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 281 | 1 | 4 | 11 | not $args{'exp'} and $self->{'jwt_exp'} |
| 4 | 0 | 11 | not $args{'exp'} and $self->{'jwt_exp'} and $self->{'jwt_exp'} >= time + 300 | |
| 344 | 3 | 2 | 8 | ref $hash and ref $hash->{'data'} |
| 5 | 0 | 8 | ref $hash and ref $hash->{'data'} and ref $hash->{'data'} eq "ARRAY" | |
| 347 | 1 | 1 | 6 | $item->{'id'} and $item->{'attributes'} |
| line | l | !l | condition |
|---|---|---|---|
| 219 | 1 | 4 | $args{'timeout'} || 30 |
| 220 | 1 | 4 | $args{'expiration'} || 900 |
| 284 | 1 | 4 | $self->{'jwt_exp'} || '-' |
| 287 | 1 | 4 | $args{'exp'} || '-' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 211 | 15 | 2 | 0 | $args{$_} || croak("$_ (string) required.") |
| 253 | 1 | 8 | 2 | $self->{'curl'} or $self->{'ua'} |
| 283 | 1 | 4 | 0 | $args{'iat'} ||= time |
| 285 | 1 | 4 | 0 | $args{'exp'} || time + $self->{'expiration'} |