Branch Coverage

blib/lib/System/Command/Reaper.pm
Criterion Covered Total %
branch 21 22 95.4


line true false branch
47 266 3 if not &$_is_alive($pid) and exists $self->{'exit'}
56 99 67 unless defined $flags
61 99 67 if (not exists $self->{'exit'} and my $reaped = waitpid($pid, $flags))
65 5 94 if not $zed || $System::Command::QUIET and 1
69 94 5 $zed ? :
75 69 30 if (defined(my $cmd = $self->{'command'}))
89 0 99 if $self->{'trace'}
103 64 35 if $in and $in->opened
104 67 32 if $out and $out->opened
105 67 32 if $err and $err->opened
117 30 67 if not exists $self->{'exit'}