Branch Coverage

blib/lib/IO/Lambda/Mutex.pm
Criterion Covered Total %
branch 20 28 71.4


line true false branch
28 0 8 if $IO::Lambda::Mutex::DEBUG and not $self->{'taken'}
29 0 8 $self->{'taken'} ? :
39 0 3 if $q->[$i] != $lambda
43 3 1 if (defined $found) { }
47 0 1 if $IO::Lambda::Mutex::DEBUG
57 3 8 unless ($self->{'taken'})
67 2 5 unless ($w->{'__already_removed'})
69 0 2 if not $removed and 0 == $self->{'queue'}
71 1 6 if defined $timeout
80 2 6 if defined $timeout
88 0 13 unless $self->{'taken'}
90 8 5 unless (@{$self->{'queue'};})
91 0 8 if $IO::Lambda::Mutex::DEBUG
98 0 5 if $IO::Lambda::Mutex::DEBUG