line |
true |
false |
branch |
28
|
0 |
12 |
if ($autoconnect and not $opts{'address'} && $opts{'port'}) |
33
|
0 |
12 |
if ($usessl and not $GOT_SSL) |
37
|
12 |
0 |
unless $opts{'timeout'} and $opts{'timeout'} =~ /^\d+$/ |
41
|
11 |
1 |
unless defined $self->{'_prefix'} |
42
|
1 |
11 |
unless $self->{'_prefix'} =~ /\_$/ |
43
|
0 |
12 |
ref $options eq 'HASH' ? : |
68
|
0 |
0 |
if defined $self->{'context'} |
78
|
0 |
2 |
unless $self->{'_server_info'} |
80
|
1 |
1 |
if wantarray |
90
|
0 |
1 |
unless $self->{'socket'} |
102
|
0 |
12 |
if ($self->{'alias'}) { } |
109
|
11 |
1 |
if ($kernel != $sender) |
119
|
1 |
0 |
if $autoconnect and $self->{'address'} and $self->{'port'} |
126
|
9 |
1 |
if (ref $_[10] eq 'HASH') { } |
133
|
9 |
1 |
unless ($self->{'address'} and $self->{'port'}) |
134
|
0 |
9 |
unless ($args->{'address'} and $args->{'port'}) |
142
|
0 |
10 |
if ($usessl and not $GOT_SSL) |
147
|
0 |
10 |
if defined $usessl |
149
|
0 |
10 |
if $args->{'localaddr'} |
150
|
0 |
10 |
if $args->{'localport'} |
152
|
0 |
10 |
if ($self->{'socket'}) |
157
|
0 |
10 |
if ($self->{'factory'}) |
166
|
10 |
0 |
defined $self->{'address'} ? : |
|
10 |
0 |
defined $self->{'port'} ? : |
175
|
0 |
10 |
if $self->{'timeout'} |
188
|
0 |
0 |
if ($self->{'usessl'} and $GOT_SSL) |
191
|
0 |
0 |
if ($self->{'sslctx'}) { } |
|
0 |
0 |
elsif ($self->{'sslkey'} and $self->{'sslcert'}) { } |
201
|
0 |
0 |
if ($@) |
228
|
1 |
9 |
if (defined $client_infilter or defined $client_outfilter) { } |
|
0 |
9 |
elsif (defined $client_filter) { } |
233
|
0 |
0 |
if (defined $client_filter) |
252
|
0 |
2 |
if (ref $filter eq 'ARRAY') { } |
|
2 |
0 |
elsif (ref $filter) { } |
255
|
0 |
0 |
if (_test_filter($filter)) { } |
265
|
0 |
0 |
if (_test_filter($filter)) { } |
281
|
0 |
0 |
if (not $eval and $@) |
293
|
0 |
0 |
if $self->{'debug'} |
307
|
0 |
0 |
unless $self->{'socket'} |
319
|
0 |
9 |
unless $self->{'socket'} |
320
|
0 |
9 |
if ($^O =~ /(cygwin|MSWin)/) |
338
|
0 |
1 |
unless $self->{'socket'} |
347
|
0 |
18 |
unless $self->{'socket'} |
348
|
6 |
12 |
if ($self->{'BUFFER'}) |
350
|
2 |
4 |
unless ($item) |
358
|
12 |
0 |
unless ($self->{'_quit'}) |
375
|
12 |
0 |
unless $self->{'alias'} |
384
|
0 |
1 |
unless (@events) |
392
|
1 |
0 |
unless /^_/ |
395
|
1 |
0 |
unless ($self->{'sessions'}{$sender_id}{'refcnt'}++ or $session == $sender) |
408
|
0 |
2 |
unless (@events) |
422
|
2 |
0 |
unless /^_/ |
424
|
0 |
2 |
unless ($blah) |
428
|
2 |
0 |
if (--$self->{'sessions'}{$sender_id}{'refcnt'} <= 0) |
430
|
2 |
0 |
unless ($session == $sender) |
442
|
10 |
0 |
if (--$self->{'sessions'}{$session_id}{'refcnt'} <= 0) |
444
|
10 |
0 |
unless $session_id eq $testd_id |
480
|
0 |
14 |
unless $self->{'socket'} |
481
|
0 |
14 |
unless $output |
483
|
2 |
12 |
if (ref $output eq 'ARRAY') |
485
|
2 |
0 |
if scalar @{$output;} |
486
|
2 |
0 |
if defined $first |