line |
true |
false |
branch |
27
|
0 |
1 |
if ($@) { } |
36
|
0 |
0 |
if ($HAVE_MONOTONIC) { } |
49
|
0 |
0 |
if $HAVE_MONOTONIC |
53
|
0 |
0 |
unless $previous |
62
|
0 |
0 |
if ($time_diff > 5 or $time_diff < 0) |
64
|
0 |
0 |
if (defined $$ref_var) |
81
|
0 |
0 |
unless $opts |
82
|
0 |
0 |
unless defined $opts->{'wait_time'} |
83
|
0 |
0 |
unless $opts->{'first_kill_type'} |
84
|
0 |
0 |
unless $opts->{'final_kill_type'} |
86
|
0 |
0 |
if ($opts->{'first_kill_type'} eq 'just_process') { } |
|
0 |
0 |
elsif ($opts->{'first_kill_type'} eq 'process_group') { } |
106
|
0 |
0 |
if ($now > $wait_start_time + $opts->{'wait_time'}) |
113
|
0 |
0 |
if ($waitpid eq -1) |
122
|
0 |
0 |
if (not $child_finished) |
123
|
0 |
0 |
if ($opts->{'final_kill_type'} eq 'just_process') { } |
|
0 |
0 |
elsif ($opts->{'final_kill_type'} eq 'process_group') { } |
137
|
0 |
0 |
if (@_ == 1 and ref $_[0] and ref $_[0] eq 'CODE') { } |
154
|
0 |
0 |
@_ == 1 ? : |
162
|
0 |
0 |
if ($self->{'command'} and not ref $self->{'command'}) |
165
|
0 |
0 |
unless ($self->{'command'} or $self->{'code'}) |
170
|
0 |
0 |
if $self->{'auto_start'} |
179
|
0 |
0 |
unless defined $pid |
180
|
0 |
0 |
if ($pid == 0) |
181
|
0 |
0 |
if ($self->{'command'}) { } |
195
|
0 |
0 |
unless defined $self->pid |
203
|
0 |
0 |
if (defined $self->pid and $$ == $self->{'_owner_pid'}) |