line |
true |
false |
branch |
175
|
0 |
14 |
if (ref $params eq '') { } |
|
14 |
0 |
elsif (ref $params eq 'HASH') { } |
178
|
0 |
14 |
unless ($$params{'argv'}) |
181
|
14 |
0 |
if (ref $$params{'argv'} eq 'ARRAY') { } |
|
0 |
0 |
elsif (ref $$params{'argv'} eq '') { } |
189
|
0 |
14 |
if (ref $$params{'env'} eq 'HASH') |
208
|
0 |
14 |
unless pipe $parent_read_stdout, $child_write_stdout |
209
|
0 |
14 |
unless pipe $parent_read_stderr, $child_write_stderr |
210
|
0 |
14 |
unless pipe $parent_read_errors, $child_write_errors |
211
|
0 |
14 |
unless pipe $child_read_stdin, $parent_write_stdin |
212
|
0 |
14 |
unless pipe $child_wait, $parent_signal |
215
|
0 |
14 |
unless (defined $child_pid) |
219
|
4 |
10 |
unless ($child_pid) |
226
|
0 |
4 |
if (tied *STDIN) |
227
|
0 |
4 |
if (tied *STDOUT) |
228
|
0 |
4 |
if (tied *STDERR) |
231
|
0 |
4 |
unless open STDOUT, '>&' . fileno($child_write_stdout) |
232
|
0 |
4 |
unless open STDERR, '>&' . fileno($child_write_stderr) |
233
|
0 |
4 |
unless open STDIN, '<&' . fileno($child_read_stdin) |
235
|
0 |
4 |
if ($new_env) |
260
|
1 |
9 |
if (defined $for_stdin) { } |
269
|
10 |
0 |
defined $timeout ? : |
273
|
91 |
2 |
if (ref $readus eq 'ARRAY') |
277
|
26 |
40 |
if (not defined $r or $r < 1) { } |
|
37 |
3 |
elsif ($readme == $parent_read_stdout) { } |
|
0 |
3 |
elsif ($readme == $parent_read_stderr) { } |
|
3 |
0 |
elsif ($readme == $parent_read_errors) { } |
279
|
8 |
18 |
if ($sel->count == 0) |
291
|
83 |
2 |
if (ref $writeus eq 'ARRAY') |
293
|
33 |
0 |
if ($writeme == $parent_write_stdin) |
294
|
33 |
0 |
512 <= length $for_stdin ? : |
297
|
1 |
32 |
if ($for_stdin_offset >= length $for_stdin) |
304
|
85 |
0 |
if (defined $timeout) |
317
|
2 |
83 |
if ($timenow < $start_time or $select_time <= 0) |
324
|
8 |
2 |
if (defined $start_time) |
333
|
2 |
8 |
unless (defined $start_time) |
335
|
2 |
0 |
if (waitpid($child_pid, 1) != -1) |
348
|
3 |
5 |
if ($read_errors) |