blib/lib/Mojo/Promise/Limitter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 6 | 83.3 |
line | true | false | branch |
---|---|---|---|
19 | 4 | 5 | if ($self->outstanding < $self->concurrency) { } |
47 | 5 | 4 | if (my $job = shift @{$self->jobs;}) |
57 | 9 | 0 | if ($self->outstanding < $self->concurrency) |