line |
true |
false |
branch |
66
|
26 |
28 |
unless $SUCCESS{$method} |
70
|
54 |
0 |
if ($type =~ qr"^application/json"i) { } |
75
|
0 |
54 |
if ($@) |
76
|
0 |
0 |
$success ? : |
77
|
0 |
0 |
$success ? : |
84
|
53 |
1 |
if ($success) { } |
86
|
53 |
0 |
if ($self->{'debugapi'}) |
94
|
1 |
0 |
if (ref $response eq 'HASH' and $response->{'error'}) { } |
99
|
1 |
0 |
unless exists $err->{'code'} |
104
|
0 |
1 |
unless defined $content |
137
|
6 |
82 |
if (exists $data->{$lkey} and $ref eq 'ARRAY' and ref $data->{$lkey} eq 'ARRAY') { } |
|
18 |
64 |
elsif ($ref eq 'HASH') { } |
142
|
4 |
0 |
if (exists $link->{'rel'} and $link->{'rel'} eq 'next' and exists $link->{'href'}) |
174
|
0 |
2 |
if ($terr) { } |
212
|
54 |
0 |
if ($rservice) { } |
214
|
3 |
51 |
unless ($service) |
223
|
0 |
54 |
unless ($url) |
224
|
0 |
0 |
$service ? : |
234
|
27 |
27 |
if (grep {$method eq $_;} @Net::OpenStack::Client::REST::METHODS_REQUIRE_OPTIONS) |
241
|
48 |
6 |
if exists $self->{'token'} and not exists $opts{'token'} |
245
|
27 |
27 |
defined $body ? : |
246
|
54 |
0 |
if ($self->{'debugapi'}) |
250
|
27 |
27 |
if $body |
255
|
53 |
0 |
if not $err and $response and ref $response eq 'HASH' |
262
|
27 |
27 |
if defined $req->{'result'} |