blib/lib/Mojo/IOLoop.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 32 | 44 | 72.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
86 | 156 | 2 | 284 | $c and my $stream = $c->{'stream'} |
141 | 0 | 2 | 1 | ++$self->{'stop'} and not $self->emit("finish")->_in |
199 | 338 | 1 | 2 | $self->{'stop'} and not $self->_in |
line | l | !l | condition |
---|---|---|---|
15 | 0 | 63 | $ENV{'MOJO_IOLOOP_DEBUG'} || 0 |
91 | 1 | 3 | shift() // {} |
147 | 7112 | 12 | ($self->{'in'}{$stream} || $self->{'out'}{$stream}) // {} |
165 | 456 | 1 | +(shift())->{'in'} // {} |
174 | 258 | 0 | $self->{'acceptors'} // {} |
181 | 200 | 0 | $self->{'acceptors'} // {} |
185 | 0 | 0 | +(shift())->{'out'} // {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
85 | 134 | 152 | 156 | $self->{'in'}{$id} || $self->{'out'}{$id} |
116 | 0 | 1 | 0 | $self->{'accepts'} //= $max - int(rand $max / 2) |
147 | 4097 | 3015 | 12 | $self->{'in'}{$stream} || $self->{'out'}{$stream} |
161 | 0 | 0 | 538 | $self->{'in'}{$id} or $self->{'out'}{$id} |
0 | 0 | 538 | $self->{'in'}{$id} or $self->{'out'}{$id} or $self->{'acceptors'}{$id} | |
173 | 337 | 1 | 258 | $self->{'accepting'} or $self->_limit |
198 | 170 | 171 | 23 | delete $self->{'in'}{$id} or delete $self->{'out'}{$id} |