Branch Coverage

blib/lib/WorkerManager.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
18 0 0 if (@_ % 2)
44 0 0 if ($self->{'log_file'})
55 0 0 if ($self->{'error_log_file'})
60 0 0 unless open STDOUT, ">>" . $self->{'error_log_file'}
61 0 0 unless open STDERR, ">>&STDOUT"
72 0 0 unless defined $ENV{$key}
77 0 0 unless $self->{'client'} = $worker_client_class->new($self->{'worker'}, $self->{'worker_options'})
80 0 0 unless $self->{'pm'} = "Parallel::ForkManager"->new($self->{'max_processes'})
114 0 0 if $self->{'client'}
115 0 0 if ($self->{'pm'}->is_parent)
129 0 0 if $self->{'client'}
130 0 0 if ($self->{'pm'}->is_parent)
194 0 0 if my $pid = $self->{'pm'}->start(++$self->{'count'})