Branch Coverage

blib/lib/Cassandra/Client/Policy/LoadBalancing/Default.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
26 0 0 unless ($node)
31 0 0 if ($self->{'local_nodes'}{$peer})
41 0 0 if ($self->{'nodes'}{$peer})
46 0 0 if (not $self->{'datacenter'} or $node->{'data_center'} eq $self->{'datacenter'})
55 0 0 unless ($self->{'nodes'}{$peer})
67 0 0 if ($self->{'local_nodes'}{$maybe} and not $self->{'connected'}{$maybe} and $self->check_backoff($maybe))
71 0 0 if not $self->{'connected'}{$_}
79 0 0 unless $times
82 0 0 if $count > @all_backoff
85 0 0 if (&Cassandra::Client::Policy::LoadBalancing::Default::time() - $times->[-1] < $backoff)
100 0 0 unless $self->{'connected'}{$peer}