Condition Coverage

blib/lib/Proc/Background/Unix.pm
Criterion Covered Total %
condition 11 23 47.8


and 3 conditions

line !l l&&!r l&&r condition
170 124 23 57 $blocking and $wait_seconds
181 117 0 0 $result == -1 and $! == 10
209 26 0 0 @_ && ref $_[0] eq 'ARRAY'
212 0 0 26 @kill_sequence and $self->alive

or 2 conditions

line l !l condition
111 2 0 chdir $options->{'cwd'} or die "chdir($options->{'cwd'}): $!\n"
113 3 0 open STDIN, "<&", $new_stdin or die "Can't redirect STDIN: $!\n"
115 4 0 open STDOUT, ">&", $new_stdout or die "Can't redirect STDOUT: $!\n"
117 3 0 open STDERR, ">&", $new_stderr or die "Can't redirect STDERR: $!\n"

or 3 conditions

line l !l&&r !l&&!r condition
77 0 0 104 fileno $pipe_r <= $^F or fileno $pipe_w <= $^F