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