line |
true |
false |
branch |
166
|
19 |
0 |
unless ($file)
|
230
|
19 |
4 |
unless ($self->getOption('no-pid-file') or $hot_reload)
|
232
|
4 |
15 |
unless ($pid)
|
233
|
0 |
4 |
if ($self->can_do_hot_reload) { }
|
235
|
0 |
0 |
if ($pid and kill 'USR2', $pid) { }
|
236
|
0 |
0 |
unless $self->getOption('no-warn')
|
258
|
15 |
4 |
unless ($self->getOption('no-fork') or $hot_reload)
|
260
|
0 |
15 |
if (not defined $child_pid) { }
|
|
7 |
8 |
elsif ($child_pid == 0) { }
|
266
|
0 |
7 |
if (not defined $grandchild_pid) { }
|
|
4 |
3 |
elsif ($grandchild_pid != 0) { }
|
270
|
4 |
0 |
if $pid
|
276
|
9 |
0 |
unless $pid and $_ == $pid->fileno
|
278
|
0 |
3 |
unless open STDIN, '<', '/dev/null' and open STDOUT, '>', '/dev/null' and open STDERR, '>', '/dev/null'
|
286
|
8 |
0 |
if $pid
|
291
|
7 |
0 |
unless $hot_reload
|
293
|
3 |
4 |
if $pid
|
311
|
0 |
7 |
if ($user or $group)
|
312
|
0 |
0 |
if ($> == 0) { }
|
314
|
0 |
0 |
if ($group)
|
315
|
0 |
0 |
unless $gid = getgrnam $group
|
317
|
0 |
0 |
if ($user)
|
318
|
0 |
0 |
unless $uid = getpwnam $user
|
320
|
0 |
0 |
if ($uid or $gid)
|
323
|
0 |
0 |
if ($gid)
|
326
|
0 |
0 |
if ($uid)
|
331
|
0 |
0 |
unless $self->getOption('no-warn')
|
348
|
6 |
0 |
unless $self->getOption('no-warn')
|