Branch Coverage

blib/lib/Ukigumo/Agent/Manager.pm
Criterion Covered Total %
branch 17 22 77.2


line true false branch
113 1 28 unless $args
137 0 26 unless (defined $pid)
141 19 7 if ($pid) { }
150 2 15 if ($status == 15)
152 0 2 if (kill 0, $pid)
156 0 0 if (kill 0, $pid)
168 9 8 if ($self->count_children < $self->max_children and @{$self->job_queue;} > 0) { }
179 3 16 if ($timeout > 0)
186 1 6 if $@
188 0 7 if (my $cleanup_cycle = $self->cleanup_cycle)
201 25 14 if ($self->count_children < $self->max_children) { }