line |
true |
false |
branch |
77
|
0 |
0 |
unless (defined $args{'host'}) |
80
|
0 |
0 |
unless (defined $args{'port'}) |
83
|
0 |
0 |
unless (defined $args{'method'}) |
86
|
0 |
0 |
unless (defined $args{'uri'}) |
89
|
0 |
0 |
if (defined $args{'data'} and ref $args{'data'} ne 'HASH') |
93
|
0 |
0 |
unless (defined 'Lim::RPC::TLS'->instance->tls_ctx) |
100
|
0 |
0 |
if (defined $args{'cb'} and ref $args{'cb'} eq 'CODE') |
105
|
0 |
0 |
if (defined $args{'data'}) { } |
110
|
0 |
0 |
if ($@) |
114
|
0 |
0 |
if (exists $$self{'cb'}) |
131
|
0 |
0 |
unless (defined $self) |
135
|
0 |
0 |
unless (defined $fh) |
136
|
0 |
0 |
if Lim::WARN() |
140
|
0 |
0 |
if (exists $$self{'cb'}) |
156
|
0 |
0 |
unless (defined $self) |
160
|
0 |
0 |
if Lim::WARN() |
164
|
0 |
0 |
if (exists $$self{'cb'}) |
176
|
0 |
0 |
unless (defined $self) |
180
|
0 |
0 |
if Lim::WARN() |
184
|
0 |
0 |
if (exists $$self{'cb'}) |
197
|
0 |
0 |
unless (defined $self) |
201
|
0 |
0 |
if Lim::WARN() |
203
|
0 |
0 |
if (exists $$self{'cb'}) |
212
|
0 |
0 |
unless (defined $self) |
216
|
0 |
0 |
if (length($$self{'rbuf'}) + length($$handle{'rbuf'}) > 8388608) |
217
|
0 |
0 |
if (exists $$self{'on_error'}) |
225
|
0 |
0 |
if (not exists $$self{'content'}) { } |
228
|
0 |
0 |
if ($$self{'headers'} =~ /\015?\012\015?\012/ou) |
240
|
0 |
0 |
if (defined $$self{'response'} and length $$self{'content'} == $$self{'response'}->header('Content-Length')) |
249
|
0 |
0 |
if ($response->code == 200) { } |
256
|
0 |
0 |
if ($response->header('Content-Length')) |
257
|
0 |
0 |
if ($response->header('Content-Type') =~ m[application/json]iou) { } |
261
|
0 |
0 |
if ($@) { } |
267
|
0 |
0 |
if (ref $data ne 'HASH') { } |
|
0 |
0 |
elsif ($$self{'status'} == -1) { } |
285
|
0 |
0 |
if ($$self{'status'} == -1) |
286
|
0 |
0 |
unless (defined $data) |
292
|
0 |
0 |
unless (blessed $data and $data->isa('Lim::Error')) |
297
|
0 |
0 |
if (exists $$self{'cb'}) |
311
|
0 |
0 |
if Lim::OBJ_DEBUG() |
317
|
0 |
0 |
if Lim::OBJ_DEBUG() |