Branch Coverage

blib/lib/Mail/Box/Locker/Flock.pm
Criterion Covered Total %
branch 6 18 33.3


line true false branch
50 1 2 if $self->hasLock
54 0 2 unless open my $fh, $lockfile_access_mode, $filename
58 0 2 $timeout eq 'NOTIMEOUT' ? :
61 2 0 if ($self->_try_lock($fh))
66 0 0 unless $! == 11
69 0 0 unless --$end
81 0 0 unless open my $fh, $lockfile_access_mode, $filename
84 0 0 unless $self->_try_lock($fh)
96 2 0 if $self->hasLock