line |
true |
false |
branch |
54
|
31 |
2 |
if (XXX) |
59
|
2 |
31 |
if defined $_[0] |
70
|
2 |
6 |
unless defined $status |
74
|
2 |
6 |
if (defined $expected and $expected->is_exit and defined $expected->callback) { } |
78
|
0 |
2 |
if (exists $proc->{'errno'}) |
94
|
8 |
5 |
if (@_ == 1 or @_ == 0) { } |
103
|
1 |
12 |
if (defined $expected and $expected->is_exec and defined $expected->callback) { } |
107
|
0 |
1 |
if (exists $proc->{'errno'}) |
127
|
11 |
6 |
if (@_ == 1 or @_ == 0) { } |
136
|
17 |
0 |
if (defined $expected and $expected->is_system and defined $expected->callback) { } |
145
|
15 |
2 |
if ($type eq 'system') { } |
148
|
1 |
14 |
if exists $event->{'errno'} |
164
|
0 |
0 |
$type eq 'system' ? : |
165
|
0 |
0 |
if ($? == -1) { } |
|
0 |
0 |
elsif ($? & 127) { } |
213
|
1 |
70 |
unless exists $sig->{$name} |
230
|
1 |
2 |
unless defined $ret |
263
|
0 |
41 |
unless defined $type |
269
|
28 |
9 |
if defined $_[0] and not XXX and not XXX |
270
|
5 |
36 |
if defined $_[0] and XXX |
272
|
21 |
20 |
if (defined $_[0]) |
274
|
21 |
0 |
if (XXX) { } |
286
|
9 |
32 |
if ($type eq 'exit') { } |
|
32 |
0 |
elsif ($type =~ /^(exec|system)$/) { } |
288
|
6 |
3 |
if (defined $check) { } |
290
|
4 |
2 |
unless (XXX) |
302
|
2 |
0 |
defined $_ ? : |
315
|
22 |
10 |
if (defined $check) { } |
317
|
5 |
17 |
if (XXX) { } |
|
4 |
13 |
elsif (not XXX) { } |
345
|
8 |
0 |
defined $_ ? : |
353
|
18 |
14 |
if ($type eq "system") |
358
|
14 |
18 |
$type eq 'exec' ? : |
445
|
2 |
3 |
unless defined $status |
455
|
0 |
3 |
unless defined $signal |
456
|
2 |
1 |
if ($signal =~ /^[A-Z]/i) { } |
472
|
0 |
1 |
unless defined $errno |