| blib/lib/Proc/PID/File.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 38 | 26.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 91 | 3 | 0 | 0 | $pid and $pid != $$ |
| 3 | 0 | 0 | $pid and $pid != $$ and kill 0, $pid | |
| 198 | 0 | 0 | 0 | $pid and $pid != $$ |
| 0 | 0 | 0 | $pid and $pid != $$ and kill 0, $pid | |
| 336 | 0 | 0 | 2 | $$self{'path'} and $pid |
| 0 | 0 | 2 | $$self{'path'} and $pid and $pid == $$ |
| line | l | !l | condition |
|---|---|---|---|
| 147 | 0 | 3 | $$self{'debug'} ||= '' |
| 195 | 0 | 0 | $self->read || '' |
| 256 | 0 | 0 | `ps -fp $pid` || die("ps utility not available: $!") |
| 289 | 2 | 3 | $pid || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 174 | 3 | 0 | 0 | $$self{'dir'} ||= $RUNDIR |
| 175 | 3 | 0 | 0 | $$self{'name'} ||= $ME |
| 248 | 0 | 0 | 0 | not $me or $me eq '1' |
| 320 | 10 | 0 | 0 | shift() || $_ |