line |
true |
false |
branch |
38
|
24 |
8 |
if ($will_expire > 0 and not $force) { } |
39
|
0 |
24 |
if $self->debug > 2 |
42
|
0 |
24 |
unless ref $ret eq 'HASH' |
47
|
1 |
7 |
if ($authorized) { } |
53
|
8 |
0 |
if ($ret->is_success) { } |
59
|
0 |
0 |
if ($ret->code == 403 and not $authorized) |
90
|
97 |
3 |
if $available |
94
|
0 |
3 |
unless defined $d_all->{'items'} |
101
|
6 |
997 |
unless @keys == grep({exists $i->{$_};} @keys) |
138
|
0 |
8 |
unless (defined $api_spec->{$field}) |
153
|
0 |
43 |
unless $api |
160
|
0 |
28 |
unless $api |
167
|
0 |
23 |
unless $api |
169
|
0 |
23 |
unless $versions |
170
|
0 |
23 |
unless @{$versions;} > 0 |
182
|
15 |
13 |
if ref $params eq '' |
184
|
0 |
28 |
unless $params->{'api'} |
187
|
3 |
25 |
if ($params->{'api'} =~ /([^:]+):(v[^\.]+)/imsx) |
191
|
10 |
18 |
if ($params->{'api'} =~ /^(.*?)\./msx) |
195
|
2 |
26 |
unless ($self->service_exists($params->{'api'})) |
220
|
0 |
22 |
unless $api->{'version'} |
224
|
22 |
34 |
$a eq $params->{'version'} ? : |
226
|
0 |
22 |
unless $url |
235
|
20 |
124 |
unless defined $ret |
236
|
0 |
144 |
unless ref $ret eq 'HASH' |
238
|
108 |
36 |
if (defined $api_spec->{'methods'} and ref $api_spec->{'methods'} eq 'HASH') |
241
|
494 |
0 |
if ref $api_spec->{'methods'}{$method} eq 'HASH' |
244
|
54 |
90 |
if (defined $api_spec->{'resources'}) |
268
|
0 |
11 |
unless defined $tree |
271
|
0 |
11 |
unless @nodes > 1 |
282
|
2 |
9 |
if ($api_id =~ /([^:]+):([^\.]+)$/imsx) |
288
|
0 |
11 |
if ($self->service_exists($api_id) == 0) |
292
|
9 |
2 |
unless $api_version |
321
|
9 |
2 |
unless (defined $all_api_methods->{$tree}) |
325
|
10 |
1 |
if ($all_api_methods->{$tree}) |
369
|
5209 |
122517 |
if ($r eq 'ARRAY') { } |
|
31827 |
90690 |
elsif ($r eq 'HASH') { } |
377
|
4902 |
96387 |
if ($key eq '$ref') { } |
411
|
0 |
0 |
unless $version |
435
|
3 |
3 |
wantarray ? : |