Branch Coverage

blib/lib/Parallel/Batch.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
24 65 0 if ($procs < $self->maxprocs)
27 0 65 unless defined $pid
28 10 55 if ($pid == 0)
32 55 0 if ($pid > 0)
39 28 27 if ($procs == $self->maxprocs)
40 28 0 if ((my $pid = wait) > 0)
46 0 55 if ((my $pid = waitpid(-1, 1)) > 0)
52 3 0 if ((my $pid = wait) > 0)
64 98 0 unless $self->progress_cb
66 0 0 if (defined $cb)