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