| line |
true |
false |
branch |
|
51
|
9 |
31 |
if ($api_service) { } |
|
80
|
72 |
33 |
if defined +($cache->{'cmd'}{$service} || {})->{$name} |
|
84
|
33 |
0 |
if ($version) { } |
|
85
|
13 |
20 |
if (ref $version ne 'version') |
|
86
|
0 |
13 |
unless $version =~ /^v/ |
|
103
|
10 |
23 |
unless ($apidata) |
|
110
|
1 |
9 |
if ($@) |
|
120
|
0 |
9 |
if ($@) { } |
|
|
0 |
9 |
elsif (not defined $apidata) { } |
|
|
0 |
9 |
elsif (ref $apidata ne 'HASH') { } |
|
133
|
14 |
18 |
if (not $data) { } |
|
142
|
0 |
14 |
if ($@) { } |
|
144
|
0 |
0 |
unless ($@ =~ /^can.*locate.*in.*INC/i) |
|
157
|
13 |
1 |
if (defined $something) { } |
|
159
|
12 |
1 |
if (ref \$something eq 'GLOB' and defined *$something{'CODE'}) { } |
|
180
|
0 |
18 |
unless (exists $data->{'endpoint'}) |
|
184
|
0 |
18 |
unless (exists $data->{'method'}) |
|
189
|
0 |
18 |
unless (grep {$_ eq $method;} @Net::OpenStack::Client::API::Magic::SUPPORTED_METHODS) |
|
192
|
0 |
18 |
if (grep {$method eq $_;} @Net::OpenStack::Client::API::Magic::METHODS_REQUIRE_OPTIONS and not exists $data->{'options'}) |
|
204
|
14 |
4 |
if defined $data->{'result'} |
|
207
|
29 |
25 |
if exists $data->{$k} |