blib/lib/Database/Async/Pool.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 14 | 50.0 |
line | true | false | branch |
---|---|---|---|
28 | 4 | 0 | unless (&blessed($backoff)) |
30 | 0 | 4 | if $backoff and not ref $backoff |
31 | 0 | 4 | $backoff && ref $backoff ? : |
93 | 0 | 1 | if @{$self->{'waiting'};} |
108 | 0 | 0 | unless my $f = shift @{$$self{'waiting'};} |
122 | 1 | 1 | if (my $engine = shift @{$$self{'ready'};}) |
134 | 1 | 0 | unless $total >= $self->max |