blib/lib/Lazy/Lockfile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 24 | 45.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
164 | 2 | 0 | 1 | defined $file_pid and $file_pid ne '' |
2 | 1 | 0 | defined $file_pid and $file_pid ne '' and $file_pid == 0 || (kill(0, $file_pid) || $!{'EPERM'}) | |
257 | 0 | 0 | 3 | $self and $$self{'lockfile_location'} |
0 | 1 | 2 | $self and $$self{'lockfile_location'} and $$self{'delete_on_destroy'} | |
271 | 0 | 2 | 0 | defined $file_pid and $file_pid == 0 || $file_pid == $$ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
131 | 3 | 0 | 0 | not defined $lockfile_location or $lockfile_location eq '' |
164 | 0 | 0 | 1 | $file_pid == 0 || (kill(0, $file_pid) || $!{'EPERM'}) |
271 | 0 | 2 | 0 | $file_pid == 0 || $file_pid == $$ |