Branch Coverage

blib/lib/Database/Async/Pool.pm
Criterion Covered Total %
branch 9 16 56.2


line true false branch
31 4 0 unless (&blessed($backoff))
33 1 3 if $backoff and not ref $backoff
34 0 4 $backoff && ref $backoff ? :
97 0 1 if @{$self->{'waiting'};}
112 0 0 unless my $f = shift @{$$self{"waiting"};}
126 1 1 if (my $engine = shift @{$$self{"ready"};})
138 1 0 unless $total >= $self->max
156 0 1 if $delay