Branch Coverage

blib/lib/Doit/Fork.pm
Criterion Covered Total %
branch 16 24 66.6


line true false branch
37 0 2 if %opts
42 0 2 if ($debug) { }
55 0 2 if (not defined $worker_pid) { }
1 1 elsif ($worker_pid == 0) { }
59 0 1 $dry_run ? :
82 1 3 if (defined $self->{'pid'})
86 1 3 if (defined $self->{'pid'})
92 1 0 if (defined $keep_last_exits)
108 0 1 if %options
122 0 1 if ($self->{'debug'}) { }
139 1 4 if (not defined $context) { }
0 4 elsif ($data[0] =~ /^exit$/) { }