Branch Coverage

blib/lib/Mail/Box/Locker/POSIX.pm
Criterion Covered Total %
branch 7 20 35.0


line true false branch
36 0 1 if $args->{'posix_file'}
62 1 1 if $self->hasLock
67 0 1 unless open my $fh, "+<:raw", $file
71 0 1 $timeout eq 'NOTIMEOUT' ? :
74 1 0 if ($self->_try_lock($fh))
79 0 0 unless $! == 11
82 0 0 unless --$end
94 0 0 unless open my $fh, "<:raw", $file
97 0 0 unless $self->_try_lock($fh) == 0
109 1 0 if $self->hasLock