| line |
true |
false |
branch |
|
12
|
406 |
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
|
0 |
805 |
unless my $reactor = $self->reactor |
|
25
|
399 |
406 |
unless my $handle = delete $self->timeout(0)->{'handle'} |
|
30
|
104 |
221 |
$_[0]->is_writing ? : |
|
42
|
47 |
7381 |
unless $self->{'handle'} |
|
52
|
0 |
472 |
unless $self->{'handle'} |
|
54
|
1 |
471 |
if delete $self->{'paused'} |
|
57
|
7100 |
3521 |
pop() ? : |
|
67
|
1 |
0 |
if $_[0]{'handle'} and not $_[0]{'paused'}++ |
|
72
|
9 |
4421 |
unless defined $timeout |
|
76
|
3542 |
879 |
if ($self->{'timer'}) { } |
|
|
472 |
407 |
elsif ($self->{'timeout'}) { } |
|
77
|
402 |
3140 |
if (not $self->{'timeout'}) { } |
|
83
|
6 |
0 |
if $self and delete $self->{'timer'} |
|
95
|
7005 |
282 |
if ($cb) { } |
|
|
208 |
74 |
elsif (not length $self->{'buffer'}) { } |
|
97
|
7079 |
0 |
if $self->{'handle'} |
|
102
|
9127 |
1056 |
if $_[0]{'timer'} |
|
107
|
3521 |
0 |
if (defined(my $read = $self->{'handle'}->sysread(my $buffer, 131072, 0))) |
|
109
|
108 |
3413 |
$read == 0 ? : |
|
113
|
0 |
0 |
if $! == 11 or $! == 4 or $! == 11 |
|
116
|
0 |
0 |
$! == 104 ? : |
|
124
|
5975 |
1125 |
if (length $self->{'buffer'}) |
|
125
|
0 |
5975 |
unless defined(my $written = $handle->syswrite($self->{'buffer'})) |
|
131
|
7100 |
0 |
unless length $self->{'buffer'} |
|
132
|
4592 |
2508 |
if $self->is_writing |
|
133
|
58 |
2450 |
if $self->{'graceful'} |
|
134
|
2403 |
47 |
if $self->{'handle'} |