blib/lib/IPC/QWorker/Worker.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 20 | 55.0 |
line | true | false | branch |
---|---|---|---|
36 | 0 | 65 | unless socketpair $parent_pipe, $child_pipe, 1, 1, 1 |
42 | 55 | 10 | if ($pid = fork) { } |
48 | 0 | 10 | unless (defined $pid) |
53 | 10 | 0 | if (defined $self->{'calls'}{'_init'}) |
70 | 0 | 120 | if ($IPC::QWorker::DEBUG) |
72 | 120 | 0 | if (defined $self->{'calls'}{$qentry->{'cmd'}}) { } |
96 | 0 | 120 | if ($IPC::QWorker::DEBUG) |
105 | 0 | 10 | if ($self->{'pid'} == 0) |
116 | 10 | 0 | if (defined $self->{'calls'}{'_destroy'}) |
119 | 0 | 10 | if ($IPC::QWorker::DEBUG) |