Condition Coverage

blib/lib/Mojo/IOLoop/Stream.pm
Criterion Covered Total %
condition 8 20 40.0


and 3 conditions

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'}

or 2 conditions

line l !l condition
16 16 1 +(shift())->{'buffer'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
43 4508 883 2457 !!length($self->{'buffer'}) || $self->has_subscribers('drain')
113 0 0 0 $! == 11 or $! == 4
0 0 0 $! == 11 or $! == 4 or $! == 11