line |
true |
false |
branch |
45
|
0 |
2 |
unless my $socket = 'IO::Socket::INET'->new('Proto', $self->protocol, 'PeerHost', $self->host, 'PeerPort', $self->port, 'Timeout', $self->timeout) |
52
|
0 |
2 |
unless $self->timeout |
55
|
0 |
2 |
if $Bloomd::Client::Config{'osname'} eq 'netbsd' or $Bloomd::Client::Config{'osname'} eq 'solaris' |
62
|
0 |
2 |
unless $socket->setsockopt(1, 20, $timeout) |
65
|
0 |
2 |
unless $socket->setsockopt(1, 21, $timeout) |
75
|
1 |
0 |
if $self->_has_socket |
83
|
0 |
0 |
$capacity ? : |
|
0 |
0 |
$prob ? : |
|
0 |
0 |
$in_memory ? : |
133
|
0 |
0 |
unless @keys |
148
|
0 |
0 |
unless @keys |
167
|
0 |
2 |
if ($self->_pid ne $$) |
174
|
0 |
2 |
unless $socket->print($command . $Bloomd::Client::CRLF) |
178
|
0 |
1 |
if $line =~ /^Client Error:/ |
181
|
1 |
0 |
unless $line eq 'START' |
187
|
0 |
0 |
if $line eq 'END' |
197
|
1 |
1 |
unless (defined $line) |
199
|
1 |
0 |
if (any sub {
$_;
}
, $!{'EWOULDBLOCK'}, $!{'EAGAIN'}, $!{'ETIMEDOUT'}) |