| blib/lib/Coro/ProcessPool/Process.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 18 | 55.5 |
| line | true | false | branch |
|---|---|---|---|
| 54 | 5 | 0 | unless my $err = shift() |
| 83 | 15 | 0 | if (exists $proc->{'inbox'}{$id}) { } |
| 84 | 0 | 15 | if ($error) { } |
| 121 | 1 | 26 | unless $proc->{'started'}->ready |
| 122 | 5 | 21 | if $proc->{'stopped'}->ready |
| 123 | 21 | 0 | if waitpid($proc->{'pid'}, 1) >= 0 |
| 129 | 5 | 0 | if ($proc->alive) |
| 137 | 0 | 0 | if ($proc->alive) |
| 145 | 0 | 15 | unless $proc->alive |