| line |
true |
false |
branch |
|
12
|
405 |
0 |
unless ${^GLOBAL_PHASE} eq "DESTRUCT" |
|
14
|
1 |
1 |
unless +(shift())->{'read'} |
|
18
|
1 |
1 |
unless +(shift())->{'written'} |
|
20
|
13 |
1 |
if $_[0]{'handle'} |
|
24
|
3 |
801 |
unless my $reactor = $self->reactor |
|
25
|
399 |
402 |
unless my $handle = delete $self->timeout(0)->{'handle'} |
|
30
|
104 |
221 |
$_[0]->is_writing ? : |
|
42
|
47 |
6702 |
unless $self->{'handle'} |
|
52
|
0 |
471 |
unless $self->{'handle'} |
|
54
|
1 |
470 |
if delete $self->{'paused'} |
|
57
|
6421 |
4387 |
pop() ? : |
|
67
|
1 |
0 |
if $_[0]{'handle'} and not $_[0]{'paused'}++ |
|
72
|
9 |
4416 |
unless defined $timeout |
|
76
|
3538 |
878 |
if ($self->{'timer'}) { } |
|
|
471 |
407 |
elsif ($self->{'timeout'}) { } |
|
77
|
398 |
3140 |
if (not $self->{'timeout'}) { } |
|
83
|
6 |
0 |
if $self and delete $self->{'timer'} |
|
95
|
6325 |
281 |
if ($cb) { } |
|
|
208 |
73 |
elsif (not length $self->{'buffer'}) { } |
|
97
|
6398 |
0 |
if $self->{'handle'} |
|
102
|
8437 |
1933 |
if $_[0]{'timer'} |
|
107
|
4387 |
0 |
if (defined(my $read = $self->{'handle'}->sysread(my $buffer, 131072, 0))) |
|
109
|
108 |
4279 |
$read == 0 ? : |
|
113
|
0 |
0 |
if $! == 11 or $! == 4 or $! == 11 |
|
116
|
0 |
0 |
$! == 104 ? : |
|
124
|
5296 |
1125 |
if (length $self->{'buffer'}) |
|
125
|
0 |
5296 |
unless defined(my $written = $handle->syswrite($self->{'buffer'})) |
|
131
|
6421 |
0 |
unless length $self->{'buffer'} |
|
132
|
3912 |
2509 |
if $self->is_writing |
|
133
|
58 |
2451 |
if $self->{'graceful'} |
|
134
|
2404 |
47 |
if $self->{'handle'} |