line |
true |
false |
branch |
149
|
0 |
7 |
if @_ % 2 |
161
|
0 |
7 |
if (defined $options->{'handle_in'} and defined $options->{'handle_out'}) { } |
|
7 |
0 |
elsif (defined $options->{'socket'}) { } |
162
|
0 |
0 |
if (UNIVERSAL::isa($options->{'handle_in'}, 'IO::Handle')) { } |
169
|
0 |
0 |
if (UNIVERSAL::isa($options->{'handle_out'}, 'IO::Handle')) { } |
208
|
0 |
33 |
if defined $bool |
214
|
0 |
33 |
if @_ % 2 |
219
|
20 |
13 |
defined $args{'arguments'} && ref $args{'arguments'} eq 'ARRAY' ? : |
225
|
0 |
33 |
unless (defined $success) |
226
|
0 |
0 |
if (exists $args{'default_reply'}) { } |
227
|
0 |
0 |
if (ref $args{'default_reply'} eq 'ARRAY') { } |
229
|
0 |
0 |
unless defined $success |
242
|
33 |
0 |
if ($self->dojob) |
243
|
33 |
0 |
if ($success) { } |
244
|
19 |
14 |
if (defined $args{'on_success'} and ref $args{'on_success'} eq 'CODE') |
251
|
0 |
0 |
if (defined $args{'on_failure'} and ref $args{'on_failure'} eq 'CODE') |
261
|
31 |
2 |
unless (defined $code and not $args{'no_reply'}) |
262
|
31 |
0 |
if (defined $success and $success) { } |
272
|
0 |
33 |
if defined $code and $code =~ /\D/ |
275
|
31 |
2 |
if defined $code and length $code |
285
|
30 |
1 |
if (defined $config) { } |
286
|
28 |
2 |
if (ref $config eq 'ARRAY') { } |
|
2 |
0 |
elsif (not ref $config) { } |
307
|
0 |
0 |
if length $code |
313
|
2 |
31 |
if (defined $self->{'callback'}{$name}) |
320
|
0 |
2 |
if ($@) |
369
|
0 |
7 |
unless defined $code and ref $code eq 'CODE' |
382
|
0 |
0 |
if defined $self->{'verb'} |
392
|
4 |
31 |
if defined $method_ref |
430
|
0 |
7 |
if ($^O eq 'MSWin32') { } |
436
|
0 |
7 |
unless defined $in->blocking(0) |
445
|
32 |
0 |
if ($sel->can_read($self->{'options'}{'idle_timeout'} || undef)) { } |
446
|
0 |
32 |
if ($^O eq 'MSWin32') { } |
468
|
0 |
0 |
if not defined $rv and $! =~ /Resource temporarily unavailable/ || $!{'EAGAIN'} |
469
|
1 |
31 |
if (not defined $rv or $rv == 0) |
472
|
0 |
1 |
!defined($rv) ? : |
479
|
31 |
0 |
if ($newline_idx >= 0) |
488
|
4 |
27 |
if (defined $self->next_input_to) { } |
496
|
6 |
25 |
if (defined $rv) |
503
|
0 |
25 |
if (length $buffer > 1000) |
517
|
0 |
0 |
if ($self->next_input_to) { } |
528
|
0 |
27 |
if (defined $params and $params =~ /[\r\n]/) |
542
|
27 |
0 |
if (defined $verb and exists $self->{'verb'}{$verb}) { } |
545
|
6 |
21 |
if (ref $action eq 'CODE') { } |
574
|
0 |
3 |
if $code >= 400 and $self->{'options'}{'error_sleep_time'} |
577
|
0 |
1 |
$code >= 400 ? : |
|
1 |
38 |
unless defined $msg |
583
|
9 |
30 |
if (ref $msg) { } |
584
|
0 |
9 |
unless ref $msg eq 'ARRAY' |
594
|
39 |
9 |
$i == $#lines ? : |
636
|
7 |
0 |
unless (defined $self->{'banner_string'}) |
642
|
7 |
0 |
if length $hostname |
643
|
7 |
0 |
if length $protoname |
644
|
7 |
0 |
if length $appname |