| line |
true |
false |
branch |
|
34
|
0 |
0 |
unless my $mmm = $class->SUPER::new(@args) |
|
36
|
0 |
0 |
unless ($$mmm{'nofork'}) |
|
46
|
0 |
0 |
if (my $pidf = $self->configval('default', 'pidfile', PIDFILE())) { } |
|
47
|
0 |
0 |
if (open my $h, '>>', $pidf) { } |
|
49
|
0 |
0 |
if (flock $h, 6) { } |
|
56
|
0 |
0 |
if (open $h, '<', $pidf) |
|
80
|
0 |
0 |
if ($$self{'lockfh'}) |
|
83
|
0 |
0 |
if (my $pidf = $self->configval('default', 'pidfile', PIDFILE())) |
|
84
|
0 |
0 |
unless unlink $pidf |
|
94
|
0 |
0 |
if ($config) { } |
|
109
|
0 |
0 |
unless ($$self{'nofork'}) |
|
112
|
0 |
0 |
unless (defined $pid) |
|
116
|
0 |
0 |
if ($pid) |
|
119
|
0 |
0 |
if ($ret) |
|
126
|
0 |
0 |
unless $self->_create_pid_file |
|
150
|
0 |
0 |
$$self{'next_alarm'} ? : |
|
151
|
0 |
0 |
if $$self{'dontdie'} |
|
153
|
0 |
0 |
unless $$self{'process'} |
|
168
|
0 |
0 |
if ($$self{'next_alarm'} || 0) != 0 and $when >= $$self{'next_alarm'} |
|
172
|
0 |
0 |
$s_alarm > 0 ? : |
|
177
|
0 |
0 |
unless $$self{'dontdie'} |
|
180
|
0 |
0 |
if $job->is_disable |
|
181
|
0 |
0 |
unless $job->frequency |
|
183
|
0 |
0 |
if ($next_run_time <= scalar time) { } |
|
185
|
0 |
0 |
if $waitdelay |
|
188
|
0 |
0 |
if $next_run_time <= 0 |