Branch Coverage

blib/lib/Async/Redis/Pool.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
22 0 0 if exists $args{$key}
79 0 0 if ($self->{'_pid'} and $self->{'_pid'} != $$)
101 0 0 unless $waiter->is_ready
114 0 0 if ($self->{'_shutdown'})
129 0 0 if ($healthy)
144 0 0 if ($current_total < $self->{'max'})
153 0 0 if ($error)
181 0 0 unless ($waiter->is_done)
185 0 0 if $error
193 0 0 unless defined $conn
196 0 0 if ($self->_check_fork)
202 0 0 unless (exists $self->{'_active'}{$id})
209 0 0 if ($self->{'_shutdown'})
215 0 0 if ($conn->is_dirty)
216 0 0 if ($self->{'on_dirty'} eq 'cleanup' and $self->_can_attempt_cleanup($conn)) { }
243 0 0 if (@{$self->{'_waiters'};})
282 0 0 if ($current_total < $self->{'min'})
318 0 0 if ($conn->in_pubsub)
328 0 0 if defined $result and $result eq "PONG"
342 0 0 if $conn->in_pubsub
346 0 0 if $conn->inflight_count > 0
351 0 0 if $conn->in_multi or $conn->watching
366 0 0 if ($conn->in_multi)
375 0 0 if ($conn->watching)
385 0 0 if ($@)
390 0 0 if ($conn->is_dirty)
414 0 0 if $error
422 0 0 if $self->{'_shutdown'}
433 0 0 unless $waiter->is_ready