blib/lib/App/Daemon.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 25 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
131 | 0 | 0 | 0 | -f $pidfile and not -w $pidfile |
line | l | !l | condition |
---|---|---|---|
66 | 0 | 0 | $as_user ||= 'nobody' |
73 | 0 | 0 | $as_group ||= 'nogroup' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
48 | 0 | 0 | 0 | $pidfile ||= "$default_pid_dir/" . $appname . '.pid' |
55 | 0 | 0 | 0 | $logfile ||= "$default_log_dir/" . $appname . '.log' |
96 | 0 | 0 | 0 | $action eq 'stop' or $action eq 'status' |
131 | 0 | 0 | 0 | not -w dirname($pidfile) or -f $pidfile and not -w $pidfile |
140 | 0 | 0 | 0 | $action eq 'stop' or $action eq 'restart' |
203 | 0 | 0 | 0 | not defined $^S or $^S != 0 |