| blib/lib/Apple/AppStoreConnect.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 40 | 60 | 66.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 501 | 1 | 9 | 16 | not $args{'exp'} and $self->{'jwt_exp'} |
| 9 | 0 | 16 | not $args{'exp'} and $self->{'jwt_exp'} and $self->{'jwt_exp'} >= time + 300 | |
| 591 | 0 | 0 | 8 | ref $res and ref $res->{'data'} |
| 0 | 0 | 8 | ref $res and ref $res->{'data'} and ref $res->{'data'} eq "ARRAY" | |
| 595 | 0 | 7 | 1 | ref $res && ref $res->{'links'} eq 'HASH' |
| 607 | 0 | 0 | 10 | ref $data and ref $data eq "ARRAY" |
| 630 | 3 | 2 | 9 | ref $hash and ref $hash->{'data'} |
| 5 | 0 | 9 | ref $hash and ref $hash->{'data'} and ref $hash->{'data'} eq "ARRAY" | |
| 633 | 1 | 1 | 7 | $item->{'id'} and $item->{'attributes'} |
| line | l | !l | condition |
|---|---|---|---|
| 363 | 1 | 9 | $args{'timeout'} || 30 |
| 364 | 1 | 9 | $args{'expiration'} || 900 |
| 429 | 0 | 3 | $params{'limit'} ||= 200 |
| 431 | 0 | 1 | $localizations ||= 1 |
| 572 | 1 | 1 | $args{'limit'} || 50 |
| 573 | 0 | 2 | $args{'sort'} || '-createdDate' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 355 | 25 | 2 | 0 | $args{$_} || croak("$_ (string) required.") |
| 395 | 1 | 20 | 2 | $self->{'curl'} or $self->{'ua'} |
| 470 | 0 | 1 | 1 | $crash_log_fields ||= delete $params{'fields[betaCrashLogs]'} |
| 510 | 1 | 9 | 0 | $args{'iat'} ||= time |
| 511 | 1 | 9 | 0 | $args{'exp'} || time + $self->{'expiration'} |
| 572 | 0 | 2 | 0 | $params{'limit'} ||= $args{'limit'} || 50 |
| 573 | 0 | 2 | 0 | $params{'sort'} ||= $args{'sort'} || '-createdDate' |