| line |
true |
false |
branch |
|
29
|
0 |
13 |
if ($autoconnect and not $opts{'address'} && $opts{'port'}) |
|
34
|
0 |
13 |
if ($usessl and not $GOT_SSL) |
|
38
|
13 |
0 |
unless $opts{'timeout'} and $opts{'timeout'} =~ /^\d+$/ |
|
42
|
12 |
1 |
unless defined $self->{'_prefix'} |
|
43
|
1 |
12 |
unless $self->{'_prefix'} =~ /\_$/ |
|
44
|
0 |
13 |
ref $options eq 'HASH' ? : |
|
69
|
0 |
0 |
if defined $self->{'context'} |
|
79
|
0 |
2 |
unless $self->{'_server_info'} |
|
81
|
1 |
1 |
if wantarray |
|
91
|
0 |
2 |
unless $self->{'socket'} |
|
103
|
0 |
13 |
if ($self->{'alias'}) { } |
|
110
|
12 |
1 |
if ($kernel != $sender) |
|
120
|
1 |
0 |
if $autoconnect and $self->{'address'} and $self->{'port'} |
|
127
|
10 |
1 |
if (ref $_[10] eq 'HASH') { } |
|
134
|
10 |
1 |
unless ($self->{'address'} and $self->{'port'}) |
|
135
|
0 |
10 |
unless ($args->{'address'} and $args->{'port'}) |
|
143
|
0 |
11 |
if ($usessl and not $GOT_SSL) |
|
148
|
0 |
11 |
if defined $usessl |
|
150
|
0 |
11 |
if $args->{'localaddr'} |
|
151
|
0 |
11 |
if $args->{'localport'} |
|
153
|
0 |
11 |
if ($self->{'socket'}) |
|
158
|
0 |
11 |
if ($self->{'factory'}) |
|
164
|
1 |
10 |
defined inet_pton(10, $self->{'address'}) ? : |
|
173
|
11 |
0 |
defined $self->{'address'} ? : |
|
|
11 |
0 |
defined $self->{'port'} ? : |
|
178
|
0 |
11 |
if $self->{'timeout'} |
|
184
|
1 |
10 |
$self->{'domain'} == 10 ? : |
|
194
|
0 |
0 |
if ($self->{'usessl'} and $GOT_SSL) |
|
197
|
0 |
0 |
if ($self->{'sslctx'}) { } |
|
|
0 |
0 |
elsif ($self->{'sslkey'} and $self->{'sslcert'}) { } |
|
207
|
0 |
0 |
if ($@) |
|
234
|
1 |
10 |
if (defined $client_infilter or defined $client_outfilter) { } |
|
|
0 |
10 |
elsif (defined $client_filter) { } |
|
239
|
0 |
0 |
if (defined $client_filter) |
|
258
|
0 |
2 |
if (ref $filter eq 'ARRAY') { } |
|
|
2 |
0 |
elsif (ref $filter) { } |
|
261
|
0 |
0 |
if (_test_filter($filter)) { } |
|
271
|
0 |
0 |
if (_test_filter($filter)) { } |
|
287
|
0 |
0 |
if (not $eval and $@) |
|
299
|
0 |
0 |
if $self->{'debug'} |
|
313
|
0 |
0 |
unless $self->{'socket'} |
|
325
|
0 |
10 |
unless $self->{'socket'} |
|
326
|
0 |
10 |
if ($^O =~ /(cygwin|MSWin)/) |
|
344
|
0 |
1 |
unless $self->{'socket'} |
|
353
|
0 |
19 |
unless $self->{'socket'} |
|
354
|
6 |
13 |
if ($self->{'BUFFER'}) |
|
356
|
2 |
4 |
unless ($item) |
|
364
|
13 |
0 |
unless ($self->{'_quit'}) |
|
381
|
13 |
0 |
unless $self->{'alias'} |
|
390
|
0 |
1 |
unless (@events) |
|
398
|
1 |
0 |
unless /^_/ |
|
401
|
1 |
0 |
unless ($self->{'sessions'}{$sender_id}{'refcnt'}++ or $session == $sender) |
|
414
|
0 |
2 |
unless (@events) |
|
428
|
2 |
0 |
unless /^_/ |
|
430
|
0 |
2 |
unless ($blah) |
|
434
|
2 |
0 |
if (--$self->{'sessions'}{$sender_id}{'refcnt'} <= 0) |
|
436
|
2 |
0 |
unless ($session == $sender) |
|
448
|
11 |
0 |
if (--$self->{'sessions'}{$session_id}{'refcnt'} <= 0) |
|
450
|
11 |
0 |
unless $session_id eq $testd_id |
|
486
|
0 |
15 |
unless $self->{'socket'} |
|
487
|
0 |
15 |
unless $output |
|
489
|
2 |
13 |
if (ref $output eq "ARRAY") |
|
491
|
2 |
0 |
if scalar @{$output;} |
|
492
|
2 |
0 |
if defined $first |