Branch Coverage

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


line true false branch
31 0 1 if $args->{'posix_file'}
56 1 1 if ($self->hasLock)
66 0 1 unless (defined $file)
73 0 1 $timeout eq 'NOTIMEOUT' ? :
76 1 0 if ($self->_try_lock($file))
81 0 0 unless ($! == 11)
87 0 0 unless --$end
100 0 0 unless ($file)
106 0 0 unless $self->_try_lock($file) == 0
118 1 0 if $self->hasLock