line |
true |
false |
branch |
21
|
129 |
11 |
if defined $PID_DIR |
22
|
0 |
11 |
if ($ENV{'UBIC_DAEMON_PID_DIR'}) { } |
36
|
3 |
5 |
unless ($daemon) |
73
|
0 |
39 |
if ($params->{'ulimit'}) |
76
|
0 |
0 |
if ($@) |
79
|
0 |
0 |
if ('BSD::Resource'->VERSION < 1.29) |
90
|
0 |
140 |
if exists $self->{'pidfile'} |
91
|
0 |
140 |
unless my $name = $self->full_name |
103
|
46 |
101 |
if defined $self->{$_} |
105
|
5 |
16 |
if ($self->{'reload_signal'}) |
108
|
21 |
0 |
if ($self->{'kill_child_signal'}) |
111
|
0 |
21 |
if (defined $self->{'daemon_user'}) |
117
|
0 |
21 |
if (defined $self->{'ulimit'}) |
122
|
0 |
0 |
unless ($result) |
133
|
0 |
60 |
if defined $self->{'user'} |
140
|
60 |
0 |
unless defined $groups |
141
|
0 |
0 |
if ref $groups eq 'ARRAY' |
148
|
0 |
15 |
if $self->{'stop_timeout'} |
154
|
44 |
52 |
if (my $daemon = check_daemon($self->pidfile)) { } |
164
|
3 |
8 |
unless (defined $self->{'reload_signal'}) |
188
|
0 |
0 |
unless (defined $SIGNALS{$command}) |