| blib/lib/Gearman/Spawner/Supervisor.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 24 | 79.1 |
| line | true | false | branch |
|---|---|---|---|
| 23 | 4 | 9 | if $pid |
| 74 | 0 | 18 | if $$self{'_loaded'}++ |
| 81 | 5 | 11 | if $@ |
| 82 | 0 | 11 | unless $ok |
| 93 | 6 | 16 | unless ($pid) |
| 95 | 2 | 4 | if $@ |
| 100 | 3 | 13 | if ($?) |
| 115 | 8 | 5 | if $pid |
| 128 | 0 | 43 | if $@ |
| 132 | 0 | 43 | if getppid != $supervisor_pid |
| 133 | 0 | 43 | if $params{'max_jobs'} and $jobs_done > $params{'max_jobs'} |
| 140 | 7 | 7 | unless $$self{'_pid'} == $$ |