| line |
true |
false |
branch |
|
137
|
1 |
1 |
if ($import and $import =~ /test/s) |
|
142
|
0 |
2 |
if ($^O =~ /MSWin32/is) |
|
152
|
0 |
13 |
if (scalar @_ & 1) { } |
|
161
|
1 |
8 |
if ($params{'pid'} and $params{'file'}) |
|
165
|
1 |
1 |
unless ($params{'pid'} or $params{'file'} or $params{'pattern'}) |
|
169
|
2 |
9 |
if ($params{'file'}) { } |
|
|
1 |
8 |
elsif ($params{'pattern'}) { } |
|
170
|
0 |
2 |
unless -r $params{'file'} |
|
175
|
1 |
1 |
unless $pid |
|
186
|
3 |
6 |
unless ($pid =~ /^\d+$/s) |
|
190
|
0 |
6 |
if ($pid > 4294967295) |
|
228
|
0 |
4 |
unless $hal->{$program} |
|
247
|
0 |
6 |
unless ($self->process_info) |
|
283
|
6 |
0 |
if ($out and $out->{'pid'} == $self->pid) |
|
291
|
0 |
6 |
unless $parse_result |
|
304
|
1 |
0 |
if ($TEST) { } |
|
320
|
3 |
1 |
if (/$pattern/s) { } |
|
331
|
0 |
1 |
unless scalar @res |
|
352
|
0 |
0 |
unless $self->pid |
|
353
|
0 |
0 |
unless open PID, '>', $file |
|
355
|
0 |
0 |
unless print PID $self->pid |
|
372
|
0 |
10 |
if (ref $_[0] eq 'System::Process::Unit') |
|
378
|
0 |
10 |
unless $out[1] |
|
386
|
81 |
7 |
if (@header) { } |
|
411
|
6 |
18 |
if ($pid) |
|
421
|
7 |
6 |
if (ref $param eq 'HASH') { } |
|
437
|
1 |
0 |
if (CORE::kill 0, $pid) |
|
454
|
0 |
1 |
unless (defined $signal) |