Branch Coverage

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


line true false branch
15 0 0 if (@_ == 1 and ref $_[0] and ref $_[0] eq 'CODE') { }
32 0 0 @_ == 1 ? :
40 0 0 if ($$self{'command'} and not ref $$self{'command'})
43 0 0 unless ($$self{'command'} or $$self{'code'})
48 0 0 if $$self{'auto_start'}
57 0 0 unless defined $pid
58 0 0 if ($pid == 0)
59 0 0 if ($$self{'command'}) { }
73 0 0 unless defined $self->pid
78 0 0 if (waitpid($self->pid, 0) > 0)
83 0 0 if $! == 4
88 0 0 if $! != 10
99 0 0 if (defined $self->pid and $$ == $$self{'_owner_pid'})