blib/lib/Unix/PID/Tiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 39 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
8 | 0 | 0 | 0 | exists $$args_hr{'minimum_pid'} and $$args_hr{'minimum_pid'} =~ /\A\d+\z/ms |
12 | 0 | 0 | 0 | -d $$args_hr{'ps_path'} and -x "$$args_hr{'ps_path'}ps" |
61 | 0 | 0 | 0 | $> == 0 and _kill(0, $check_pid) |
64 | 0 | 0 | 0 | -e "/proc/$$" and -r "/proc/$$" |
0 | 0 | 0 | -e "/proc/$$" and -r "/proc/$$" and -r "/proc/$check_pid" | |
117 | 0 | 0 | 0 | $rc and $newpid == $$ |
140 | 0 | 0 | 0 | defined $rc and $rc == 1 |
141 | 0 | 0 | 0 | defined $rc and $rc == 0 |
178 | 0 | 0 | 0 | int $curpid == $$ and $newpid == $$ |
line | l | !l | condition |
---|---|---|---|
107 | 0 | 0 | $self->get_pid_from_pidfile($pid_file) || (return) |
159 | 0 | 0 | $$retry_conf{'num_of_passes'} ||= 3 |
160 | 0 | 0 | $$retry_conf{'passes_config'} ||= [1, 2] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
59 | 0 | 0 | 0 | not $check_pid or $check_pid < 0 |
76 | 0 | 0 | 0 | not $pid or $pid < 0 |