| line |
true |
false |
branch |
|
53
|
1 |
9 |
if ($cmdOut ne "OK") |
|
61
|
1 |
9 |
unless ($cmdOut eq "OK") |
|
78
|
3 |
27 |
if ($url =~ /^http/g) { } |
|
|
1 |
26 |
elsif ($url =~ m[^/]) { } |
|
|
2 |
24 |
elsif ($url =~ /grid/g) { } |
|
99
|
16 |
14 |
if (defined $params and $params ne "") |
|
102
|
1 |
15 |
if ($resource->{'payload'}) |
|
113
|
0 |
30 |
if $self->debug |
|
121
|
1 |
29 |
if ($dont_process_response) |
|
132
|
2 |
228 |
if ($response->is_redirect) { } |
|
141
|
77 |
151 |
if $self->debug |
|
143
|
217 |
11 |
if ($response->message ne "No Content" and $response->content ne "") |
|
146
|
2 |
215 |
unless ($response->content_type =~ /json/i) |
|
159
|
18 |
208 |
if ($response->is_error) { } |
|
|
208 |
0 |
elsif ($response->is_success) { } |
|
161
|
17 |
1 |
if (defined $decoded_json) { } |
|
175
|
198 |
10 |
if (defined $decoded_json) { } |
|
178
|
0 |
0 |
if (&looks_like_number($decoded_json->{'status'}) and $decoded_json->{'status'} > 0 and $decoded_json->{'value'}{'message'}) |
|
188
|
0 |
198 |
if (ref $decoded_json eq "HASH" and $decoded_json->{'error'}) |
|
194
|
71 |
127 |
if ($no_content_success) { } |
|
199
|
0 |
52 |
if (ref $data->{'cmd_return'} eq "HASH" and exists $data->{'cmd_return'}{'sessionId'}) |