| blib/lib/Data/Sync/Shared.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 22 | 72.7 |
| 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 | 2 | 0 | if (defined $deadline) { } |
| 58 | 0 | 2 | if $remaining <= 0 |
| 59 | 1 | 1 | unless $self->wait($remaining) |
| 72 | 2 | 1 | if ($n == 1) { } |
| 73 | 1 | 1 | unless $self->acquire($timeout // -1) |
| 75 | 0 | 1 | unless $self->acquire_n($n, $timeout // -1) |