blib/lib/Sub/Daemon.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 22 | 27.2 |
line | l | !l | condition |
---|---|---|---|
307 | 1 | 1 | &$start_child() and last |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
39 | 2 | 0 | 0 | $logfile and $pidfile |
84 | 0 | 0 | 0 | $loop < 6 and $! == 11 || $! == 12 |
line | l | !l | condition |
---|---|---|---|
132 | 0 | 0 | POSIX::sysconf(&POSIX::_SC_OPEN_MAX) // 64 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
42 | 0 | 2 | 0 | $logfile ||= $filename . '.log' |
43 | 0 | 2 | 0 | $pidfile ||= $filename . '.pid' |
84 | 0 | 0 | 0 | $! == 11 || $! == 12 |
107 | 2 | 0 | 0 | $opts{'debug'} // $self->debug |