| 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
|
3 |
1225 |
unless @keys == grep({exists $i->{$_};} @keys) |
|
137
|
0 |
8 |
unless (defined $api_spec->{$field}) |
|
152
|
0 |
43 |
unless $api |
|
159
|
0 |
28 |
unless $api |
|
166
|
0 |
23 |
unless $api |
|
168
|
0 |
23 |
unless $versions |
|
169
|
0 |
23 |
unless @{$versions;} > 0 |
|
181
|
15 |
13 |
if ref $params eq "" |
|
183
|
0 |
28 |
unless $params->{'api'} |
|
186
|
3 |
25 |
if ($params->{'api'} =~ /([^:]+):(v[^\.]+)/imsx) |
|
190
|
10 |
18 |
if ($params->{'api'} =~ /^(.*?)\./msx) |
|
194
|
2 |
26 |
unless ($self->service_exists($params->{'api'})) |
|
219
|
0 |
22 |
unless $api->{'version'} |
|
223
|
22 |
34 |
$a eq $params->{'version'} ? : |
|
225
|
0 |
22 |
unless $url |
|
234
|
20 |
124 |
unless defined $ret |
|
235
|
0 |
144 |
unless ref $ret eq "HASH" |
|
237
|
108 |
36 |
if (defined $api_spec->{'methods'} and ref $api_spec->{'methods'} eq "HASH") |
|
240
|
498 |
0 |
if ref $api_spec->{'methods'}{$method} eq "HASH" |
|
243
|
54 |
90 |
if (defined $api_spec->{'resources'}) |
|
266
|
0 |
11 |
unless defined $tree |
|
269
|
0 |
11 |
unless @nodes > 1 |
|
280
|
2 |
9 |
if ($api_id =~ /([^:]+):([^\.]+)$/imsx) |
|
286
|
0 |
11 |
unless ($self->service_exists($api_id)) |
|
290
|
9 |
2 |
unless $api_version |
|
316
|
9 |
2 |
unless (defined $all_api_methods->{$tree}) |
|
319
|
10 |
1 |
if ($all_api_methods->{$tree}) |
|
359
|
5352 |
125118 |
if ($r eq 'ARRAY') { } |
|
|
32449 |
92669 |
elsif ($r eq 'HASH') { } |
|
367
|
4953 |
98264 |
if ($key eq '$ref') { } |
|
401
|
0 |
0 |
unless $version |
|
423
|
3 |
3 |
wantarray ? : |