Branch Coverage

blib/lib/Data/Sync/Shared.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
14 2 0 if $self->[0]
33 1 0 if $self->[0]
48 1 1 &$pred() ? :
2 2 if $timeout == 0
50 2 0 if ($timeout > 0)
55 3 0 if (defined $deadline) { }
57 1 2 if $remaining <= 0
73 2 1 if ($n == 1) { }
74 1 1 unless $self->acquire($timeout // -1)
76 0 1 unless $self->acquire_n($n, $timeout // -1)