| blib/lib/Daemon/DaemonizeLight.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 2 | 18 | 11.1 |
| line | true | false | branch |
|---|---|---|---|
| 42 | 0 | 0 | if !$pid || $p->{'PID'} == $pid and $p->{'PID'} != $$ and $p->{'COMMAND'} =~ /$script/ |
| 53 | 0 | 0 | if ($pid) { } |
| 54 | 0 | 0 | if (check_process($pid)) { } |
| 63 | 0 | 0 | if (check_process($pid)) { } |
| 78 | 0 | 0 | if (check_process()) { } |
| 90 | 0 | 0 | if (check_process()) { } |
| 137 | 1 | 0 | unless $tmp and -d $tmp |
| 148 | 1 | 0 | if (not $funcs_in->{$in}) { } |
| 154 | 0 | 0 | if ($in ne 'pid') |