line |
!l |
l&&!r |
l&&r |
condition |
186
|
6 |
99 |
68 |
$type eq 'SCALAR' and $dest == \(undef) |
222
|
3 |
99 |
68 |
$type eq 'SCALAR' and $dest == \(undef) |
310
|
1 |
91 |
9 |
@_ && ref $_[-1] eq 'HASH' |
357
|
19 |
79 |
2 |
defined $stderr && defined $stdout && $stderr eq $stdout |
417
|
0 |
100 |
0 |
defined $r and $r == -1 || 0 |
|
99 |
1 |
0 |
defined $r and $r == -1 || 0 and not $$options{'return_if_system_error'} |
447
|
7 |
2 |
91 |
defined $out_fh and $out_type |
|
9 |
1 |
90 |
defined $out_fh and $out_type and $out_type ne 'FH' |
449
|
18 |
0 |
82 |
defined $err_fh and $err_type |
|
18 |
0 |
82 |
defined $err_fh and $err_type and $err_type ne 'FH' |
|
0 |
2 |
80 |
defined $err_fh and $err_type and $err_type ne 'FH' and not $tie_err_to_out |
line |
l |
!l&&r |
!l&&!r |
condition |
128
|
75 |
16 |
1 |
$fh_cache{'in'} ||= tempfile() |
172
|
11 |
0 |
0 |
seek $fh, 0, 0 or croak("$! seeking on temp file for child's stdin") |
190
|
53 |
15 |
0 |
$fh_cache{'nul'} ||= do {
open $fh, '>', 'File::Spec'->devnull;
$fh
} |
208
|
84 |
18 |
0 |
$fh_cache{$what} ||= tempfile() |
374
|
93 |
0 |
0 |
open STDOUT_SAVE, '>&STDOUT' or croak("run3(): $! saving STDOUT") |
376
|
82 |
0 |
0 |
open STDERR_SAVE, '>&STDERR' or croak("run3(): $! saving STDERR") |
384
|
94 |
0 |
0 |
dup2(fileno $in_fh, 0) or croak("run3(): $! redirecting STDIN") |
392
|
93 |
0 |
0 |
open STDOUT, '>&' . fileno($out_fh) or croak("run3(): $! redirecting STDOUT") |
396
|
82 |
0 |
0 |
open STDERR, '>&' . fileno($err_fh) or croak("run3(): $! redirecting STDERR") |
438
|
93 |
0 |
0 |
open STDOUT, '>&STDOUT_SAVE' or push @errs, "run3(): $! restoring STDOUT" |
440
|
82 |
0 |
0 |
open STDERR, '>&STDERR_SAVE' or push @errs, "run3(): $! restoring STDERR" |