blib/lib/Mojo/IOLoop/Stream.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 20 | 40.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
37 | 0 | 760 | 0 | $self->{'handle'} && Mojo::Util::_readable(0, fileno $self->{'handle'}) |
67 | 0 | 0 | 1 | $_[0]{'handle'} and not $_[0]{'paused'}++ |
83 | 0 | 0 | 6 | $self and delete $self->{'timer'} |
line | l | !l | condition |
---|---|---|---|
16 | 16 | 1 | +(shift())->{'buffer'} // "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
43 | 4389 | 883 | 2456 | !!length($self->{'buffer'}) || $self->has_subscribers('drain') |
113 | 0 | 0 | 0 | $! == 11 or $! == 4 |
0 | 0 | 0 | $! == 11 or $! == 4 or $! == 11 |