line |
true |
false |
branch |
26
|
0 |
4 |
exists $args{'reuse_addr'} ? : |
33
|
3 |
1 |
if exists $args{'bind'} |
34
|
1 |
3 |
if exists $args{'connect'} |
51
|
1 |
0 |
if @_ |
70
|
0 |
0 |
if (@_) |
72
|
0 |
0 |
unless @{$self->{'buffers'};} |
79
|
0 |
4 |
if defined $self->{'on_drain'} |
116
|
2 |
0 |
if (@_) |
119
|
0 |
2 |
if ($value == 0) { } |
165
|
3 |
0 |
unless (&Scalar::Util::openhandle($fh)) |
166
|
0 |
3 |
unless socket $fh, $domain, $type, $proto |
168
|
3 |
0 |
if $self->{'reuse_addr'} |
171
|
0 |
3 |
unless bind $fh, $sockaddr |
173
|
3 |
0 |
if (ref $addr) { } |
192
|
1 |
0 |
unless (&Scalar::Util::openhandle($fh)) |
193
|
0 |
1 |
unless socket $fh, $domain, $type, $proto |
197
|
0 |
1 |
unless connect $fh, $sockaddr |
199
|
0 |
1 |
if (ref $addr) { } |
222
|
0 |
3 |
unless my $target = shift @targets |
233
|
0 |
0 |
if (exists $self->{'on_error'}) { } |
235
|
0 |
0 |
if $fatal |
245
|
0 |
0 |
defined $to->[0] ? : |
|
0 |
2 |
if ref $to |
246
|
0 |
2 |
if defined wantarray |
247
|
0 |
2 |
if ($self->{'autoflush'} and not @{$self->{'buffers'};}) { } |
249
|
0 |
0 |
if not defined $ret and $non_fatal{$! + 0} |
250
|
0 |
0 |
if $ret |
260
|
1 |
1 |
defined $to ? : |
261
|
0 |
0 |
unless defined $ret or $non_fatal{$! + 0} |
262
|
2 |
0 |
if (defined $ret) |
265
|
0 |
2 |
if defined $cv |
274
|
2 |
0 |
if (@{$self->{'buffers'};}) { } |
278
|
0 |
2 |
unless (defined $ret) |
279
|
0 |
0 |
if $self->{'buffers'} |
287
|
2 |
0 |
if not @{$self->{'buffers'};} |