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