| line |
true |
false |
branch |
|
34
|
0 |
32 |
if ($input->{'debug'}) |
|
38
|
0 |
0 |
if $@ |
|
56
|
0 |
352 |
unless open my $fh, ">>", $file |
|
66
|
16 |
16 |
if ($timing eq "before") |
|
68
|
0 |
16 |
if $@ |
|
74
|
6 |
6 |
if ($timing eq "after") |
|
76
|
0 |
6 |
if $@ |
|
80
|
0 |
12 |
unless open my $fh, ">>", $file |
|
86
|
6 |
6 |
if $forked eq "has_fork" |
|
99
|
8 |
24 |
if ($type eq 'nsd') { } |
|
|
12 |
12 |
elsif ($type eq 'dd') { } |
|
|
12 |
0 |
elsif ($type eq 'mxd') { } |
|
109
|
0 |
12 |
if $@ |
|
118
|
0 |
12 |
if $debug |
|
123
|
0 |
12 |
if $debug |
|
128
|
0 |
12 |
if $debug |
|
148
|
0 |
8 |
unless POSIX::sigprocmask(0, $sigset) |
|
153
|
0 |
8 |
unless (defined $pid) |
|
161
|
0 |
8 |
unless POSIX::sigprocmask(1, $sigset) |
|
173
|
4 |
4 |
if ($pid) { } |
|
175
|
4 |
0 |
if $pid |
|
182
|
0 |
4 |
unless open STDIN, "
|
|
183
|
0 |
4 |
unless open STDOUT, ">/dev/null" |
|
184
|
0 |
4 |
unless open STDERR, ">&STDOUT" |
|
199
|
0 |
20 |
unless defined $pid |
|
207
|
0 |
4 |
if not defined $openmax or $openmax < 0 |
|
209
|
0 |
4 |
unless $from < $openmax |
|
219
|
4 |
8 |
if (my $pid = _fork_or_die()) |
|
225
|
0 |
8 |
unless POSIX::setsid() |
|
229
|
4 |
4 |
if _fork_or_die() |
|
234
|
4 |
0 |
if ($close eq 1 or $close eq "!std") |
|
236
|
0 |
4 |
$close eq '!std' ? : |
|
239
|
4 |
0 |
if ($close eq 1 or $close eq "std") |
|
241
|
0 |
4 |
unless open STDIN, "+>/dev/null" |
|
243
|
0 |
4 |
unless open STDOUT, "+>&STDIN" |
|
245
|
0 |
4 |
unless open STDERR, "+>&STDIN" |
|
261
|
4 |
8 |
if (my $pid = fork) { } |
|
270
|
0 |
8 |
unless POSIX::setsid() |
|
274
|
4 |
4 |
if fork |
|
280
|
0 |
4 |
if not defined $openmax or $openmax < 0 |
|
287
|
0 |
4 |
unless open STDIN, "+>/dev/null" |
|
292
|
0 |
4 |
unless open STDOUT, "+>&STDIN" |
|
297
|
0 |
4 |
unless open STDERR, "+>&STDIN" |