| line |
true |
false |
branch |
|
48
|
0 |
0 |
unless ($self->{'handle'} = 'IO::Socket::INET'->new('Proto', 'tcp', 'PeerPort', $self->port, 'PeerAddr', $self->host, 'Timeout', $self->timeout)) |
|
81
|
0 |
0 |
if ($self->handle->connected) |
|
97
|
0 |
0 |
if ($self->pending > $length) { } |
|
105
|
0 |
0 |
$self->pending > $length ? : |
|
124
|
0 |
0 |
if ($output = $self->buf_get_line(\$buffer, $self->eol)) |
|
154
|
0 |
0 |
if ($self->select->can_write($timeout)) { } |
|
156
|
0 |
0 |
if (my $bytes = $self->handle->syswrite($buffer, $bufsize)) { } |
|
160
|
0 |
0 |
if $written >= $bufsize |
|
164
|
0 |
0 |
if ($self->handle->error) |
|
169
|
0 |
0 |
if ($errno == 11) { } |
|
172
|
0 |
0 |
if $counter > $self->attempts |
|
220
|
0 |
0 |
if defined $value |
|
232
|
0 |
0 |
if defined $value |
|
278
|
0 |
0 |
if ($self->select->can_read($timeout)) { } |
|
280
|
0 |
0 |
if (my $bytes = $self->handle->sysread($buf, 512)) { } |
|
287
|
0 |
0 |
if ($self->handle->error) |
|
294
|
0 |
0 |
if ($errno == 11) { } |
|
297
|
0 |
0 |
if $counter > $self->attempts |