| lib/Proc/DaemonLite.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 1 | 18 | 5.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 35 | 0 | 0 | 2 | -d '/var/run' && -w _ |
| 61 | 0 | 0 | 0 | defined $user and defined $group |
| 177 | 0 | 0 | 0 | -w $file and unlink $file |
| line | l | !l | condition |
|---|---|---|---|
| 96 | 0 | 0 | $callback || 1 |
| 158 | 0 | 0 | join('', @_) || q[Something's wrong] |
| 172 | 0 | 0 | 'IO::File'->new($file) || (return) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 55 | 0 | 0 | 0 | $pidfile ||= _getpidfilename() |