Branch Coverage

blib/lib/AnyEvent/ProcessPool.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
28 3 1 if ($self->{'limit'})
43 2 8 if (my $cv = $self->{'complete'}{$task_id})
51 0 4 unless $self
52 0 4 unless $self->{'pid'} == $$
55 4 0 if (ref $self->{'pending'})
62 4 0 if (ref $self->{'pool'})
64 50 0 if $worker
85 23 23 if (@$queue and @$pool)
94 1 22 if ($task->failed) { }