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
171 124 23 57 $blocking and $wait_seconds
182 117 0 0 $result == -1 and $! == 10
210 26 0 0 @_ && ref $_[0] eq 'ARRAY'
213 0 0 26 @kill_sequence and $self->alive

or 2 conditions

line l !l condition
112 2 0 chdir $options->{'cwd'} or die "chdir($options->{'cwd'}): $!\n"
114 3 0 open STDIN, "<&" . fileno($new_stdin) or die "Can't redirect STDIN: $!\n"
116 4 0 open STDOUT, ">&" . fileno($new_stdout) or die "Can't redirect STDOUT: $!\n"
118 3 0 open STDERR, ">&" . fileno($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