| line |
true |
false |
branch |
|
357
|
3 |
9 |
unless ($args{'key'}) |
|
358
|
1 |
2 |
unless $args{'key_file'} |
|
359
|
1 |
1 |
unless open my $fh, "<", $args{'key_file'} |
|
377
|
22 |
1 |
unless ($self->{'curl'}) |
|
378
|
1 |
21 |
unless $resp->is_success |
|
382
|
1 |
21 |
$args{'raw'} ? : |
|
389
|
1 |
23 |
unless $args{'url'} |
|
390
|
14 |
9 |
unless $args{'url'} =~ /^http/ |
|
395
|
2 |
20 |
unless ($self->{'curl'} or $self->{'ua'}) |
|
409
|
0 |
7 |
$args{'params'} ? : |
|
410
|
1 |
6 |
if $args{'platform'} |
|
411
|
1 |
6 |
if %params |
|
414
|
2 |
5 |
if $args{'id'} |
|
415
|
2 |
5 |
if $args{'path'} |
|
425
|
1 |
3 |
unless $args{'id'} |
|
427
|
0 |
3 |
$args{'params'} ? : |
|
428
|
1 |
2 |
if $args{'platform'} |
|
431
|
1 |
2 |
if $args{'localization_fields'} |
|
438
|
3 |
0 |
if ($localizations) |
|
441
|
1 |
3 |
unless $localizations eq 1 |
|
444
|
1 |
3 |
if $args{'localization_fields'} |
|
468
|
1 |
1 |
$args{'params'} ? : |
|
478
|
1 |
0 |
if ($args{'crash_log'}) |
|
481
|
1 |
0 |
if $crash_log_fields |
|
501
|
16 |
9 |
if not $args{'exp'} and $self->{'jwt_exp'} and $self->{'jwt_exp'} >= time + 300 |
|
520
|
1 |
9 |
if $self->{'scope'} |
|
524
|
1 |
9 |
if $self->{'jwt_payload'} |
|
542
|
1 |
22 |
unless $ua |
|
554
|
12 |
14 |
unless ref $args{'params'} |
|
558
|
13 |
1 |
if $params |
|
567
|
2 |
2 |
unless $args{'id'} |
|
568
|
0 |
2 |
unless $args{'resource'} |
|
570
|
2 |
0 |
$args{'params'} ? : |
|
571
|
1 |
1 |
if $args{'platform'} |
|
591
|
8 |
0 |
if ref $res and ref $res->{'data'} and ref $res->{'data'} eq "ARRAY" |
|
595
|
1 |
7 |
ref $res && ref $res->{'links'} eq 'HASH' ? : |
|
596
|
7 |
1 |
unless $next |
|
607
|
0 |
10 |
unless ref $data and ref $data eq "ARRAY" |
|
613
|
11 |
0 |
ref $item->{'attributes'} eq 'HASH' ? : |
|
615
|
11 |
0 |
if $item->{'id'} |
|
616
|
11 |
0 |
if $item->{'type'} |
|
630
|
9 |
2 |
if (ref $hash and ref $hash->{'data'} and ref $hash->{'data'} eq "ARRAY") |
|
633
|
7 |
1 |
if ($item->{'id'} and $item->{'attributes'}) |
|
635
|
7 |
0 |
if $item->{'type'} |
|
638
|
7 |
2 |
if $res |