blib/lib/Mojo/UserAgent/Role/Queued/Queue.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 6 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
17 | 0 | 18 | 9 | $self->active < $self->max_active and my $job = shift @{$self->jobs;} |
23 | 0 | 13 | 5 | scalar @{$self->jobs;} == 0 and $self->active == 0 |