| line |
true |
false |
branch |
|
65
|
0 |
34 |
unless @_ > 0 |
|
84
|
22 |
8 |
if ($daemon_pid) |
|
96
|
4 |
4 |
if ($pid) { } |
|
|
4 |
0 |
elsif ($pid == 0) { } |
|
114
|
0 |
3 |
if ($reaped_status == -1) { } |
|
|
0 |
3 |
elsif ($reaped_status & 127) { } |
|
120
|
0 |
0 |
$reaped_status & 128 ? : |
|
129
|
1 |
2 |
if ($exit_code == 0) { } |
|
154
|
2 |
2 |
if ($$options{'ALLOW_SHELL'} or @$args > 1) { } |
|
156
|
0 |
0 |
unless exec @$args |
|
160
|
0 |
0 |
unless exec do {
$$args[0]
} @$args |
|
186
|
0 |
3 |
unless $started |
|
198
|
2 |
36 |
if (ref $_[0] and ref $_[0] eq 'ARRAY') { } |
|
201
|
1 |
1 |
ref $_[0] && ref $_[0] eq 'HASH' ? : |
|
204
|
8 |
28 |
ref $_[-1] && ref $_[-1] eq 'HASH' ? : |
|
227
|
3 |
4 |
if ($status eq 'completed' or $status eq 'terminated by request' or $status eq 'terminated by error') |
|
240
|
0 |
74 |
unless defined wantarray |
|
244
|
38 |
36 |
$cfg->param('job.status.detail') ? : |
|
245
|
7 |
67 |
wantarray ? : |
|
268
|
18 |
1 |
-e $dir && -d $dir ? : |
|
304
|
0 |
21 |
unless -e $dir |
|
310
|
105 |
105 |
unless (/^\.\.?$/ or -d $_) |
|
313
|
42 |
42 |
unless $file eq '___proc_async_stdout___' or $file eq '___proc_async_stderr___' or $file eq '___proc_async_status.cfg' |
|
337
|
0 |
14 |
unless $is_allowed |
|
393
|
0 |
0 |
unless $signal |
|
394
|
0 |
0 |
unless $signal =~ /^[+]?\d+$/ |
|
398
|
0 |
0 |
unless $pid |
|
410
|
0 |
34 |
if (exists $$options{'TIMEOUT'}) |
|
412
|
0 |
0 |
if (_is_int($timeout)) { } |
|
413
|
0 |
0 |
if ($timeout == 0) { } |
|
|
0 |
0 |
elsif ($timeout < 0) { } |
|
423
|
0 |
0 |
if (exists $$options{'TIMEOUT'}) |
|
425
|
0 |
0 |
unless ($has_nonblocking) |
|
434
|
0 |
7 |
unless exists $$KNOWN_OPTIONS{$key} |
|
442
|
0 |
0 |
unless defined $str |
|
443
|
0 |
0 |
$str =~ /^[+-]?\d+$/ ? : |
|
504
|
0 |
314 |
unless $jobid |
|
509
|
0 |
314 |
unless $jobid =~ m(^\Q$tmpdir\E[/\\]) |