blib/lib/Daemon/Daemonize.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 26 | 34.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
137 | 0 | 0 | 0 | -f $pidfile and -r $pidfile |
182 | 0 | 0 | 0 | exists &Errno::EPERM and $errno == &Errno::EPERM |
line | l | !l | condition |
---|---|---|---|
32 | 0 | 3 | shift() || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
35 | 0 | 0 | 3 | not defined $openmax or $openmax < 0 |
88 | 3 | 0 | 0 | $close eq 1 or $close eq '!std' |
93 | 2 | 0 | 1 | $ENV{'DAEMON_DAEMONIZE_STDOUT'} || $options{'stdout'} |
94 | 2 | 0 | 1 | $ENV{'DAEMON_DAEMONIZE_STDERR'} || $options{'stderr'} |
96 | 3 | 0 | 0 | $close eq 1 or $close eq 'std' |
156 | 0 | 0 | 1 | shift() || $$ |