blib/lib/Coro/ProcessPool/Worker.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 10 | 60.0 |
line | true | false | branch |
---|---|---|---|
21 | 0 | 0 | if ($task eq 'self-terminate') |
38 | 2 | 1 | if (ref $task and ref $task eq 'CODE') { } |
42 | 0 | 1 | unless $task->can('new') |
43 | 0 | 1 | unless $task->can('run') |
49 | 1 | 2 | if ($@) |