Branch Coverage

blib/lib/KinoSearch1/Store/FSLock.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
28 0 71 if $disable_locks
33 2 69 if (-e $lock_name)
34 0 2 unless open my $fh, $lock_name
38 0 2 unless close $fh
39 1 1 unless (kill 0, $pid)
41 0 1 unless unlink $lock_name
47 1 70 unless sysopen my $fh, $lock_name, 193
51 0 70 unless close $fh
60 0 68 if $disable_locks
63 0 68 unless unlink $$self{'lock_name'}