line |
true |
false |
branch |
17
|
2 |
0 |
eval {
do {
require Sub::Name
}
} ? : |
29
|
0 |
4 |
exists $args{'reuse_addr'} ? : |
36
|
3 |
1 |
if exists $args{'bind'} |
37
|
1 |
3 |
if exists $args{'connect'} |
54
|
1 |
0 |
if @_ |
73
|
0 |
0 |
if (@_) |
75
|
0 |
0 |
unless @{$self->{'buffers'};} |
82
|
0 |
4 |
if defined $self->{'on_drain'} |
119
|
2 |
0 |
if (@_) |
122
|
0 |
2 |
if ($value == 0) { } |
168
|
3 |
0 |
unless (&Scalar::Util::openhandle($fh)) |
169
|
0 |
3 |
unless socket $fh, $domain, $type, $proto |
171
|
3 |
0 |
if $self->{'reuse_addr'} |
174
|
0 |
3 |
unless bind $fh, $sockaddr |
176
|
3 |
0 |
if (ref $addr) { } |
195
|
1 |
0 |
unless (&Scalar::Util::openhandle($fh)) |
196
|
0 |
1 |
unless socket $fh, $domain, $type, $proto |
200
|
0 |
1 |
unless connect $fh, $sockaddr |
202
|
0 |
1 |
if (ref $addr) { } |
225
|
0 |
3 |
unless my $target = shift @targets |
236
|
0 |
0 |
if (exists $self->{'on_error'}) { } |
238
|
0 |
0 |
if $fatal |
248
|
0 |
0 |
defined $to->[0] ? : |
|
0 |
2 |
if ref $to |
249
|
0 |
2 |
if defined wantarray |
250
|
0 |
2 |
if ($self->{'autoflush'} and not @{$self->{'buffers'};}) { } |
252
|
0 |
0 |
if not defined $ret and $non_fatal{$! + 0} |
253
|
0 |
0 |
if $ret |
263
|
1 |
1 |
defined $to ? : |
264
|
0 |
0 |
unless defined $ret or $non_fatal{$! + 0} |
265
|
2 |
0 |
if (defined $ret) |
268
|
0 |
2 |
if defined $cv |
277
|
2 |
0 |
if (@{$self->{'buffers'};}) { } |
281
|
0 |
2 |
unless (defined $ret) |
282
|
0 |
0 |
if $self->{'buffers'} |
290
|
2 |
0 |
if not @{$self->{'buffers'};} |