| blib/lib/AnyEvent/ProcessPool/Process.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 18 | 77.7 |
| line | true | false | branch |
|---|---|---|---|
| 36 | 0 | 40 | if $self->{'ps'} |
| 37 | 40 | 0 | if (ref $self->{'pending'}) |
| 39 | 0 | 0 | if ($cv) |
| 48 | 3 | 1 | if $self->is_running |
| 59 | 25 | 8 | unless $self->is_running |
| 65 | 19 | 37 | if (defined $self->{'process'}) |
| 86 | 6 | 24 | if ($self->{'limit'} and $ps->user->{'reqs'} <= 0) |
| 108 | 9 | 16 | if $self->{'limit'} |
| 121 | 15 | 15 | if $self->{'limit'} |