Branch Coverage

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


line true false branch
25 0 0 unless ($node)
30 0 0 if ($self->{'local_nodes'}{$peer})
40 0 0 if ($self->{'nodes'}{$peer})
45 0 0 if (not $self->{'datacenter'} or $node->{'data_center'} eq $self->{'datacenter'})
54 0 0 unless ($self->{'nodes'}{$peer})
66 0 0 if ($self->{'local_nodes'}{$maybe} and not $self->{'connected'}{$maybe} and $self->check_backoff($maybe))
70 0 0 if not $self->{'connected'}{$_}
78 0 0 unless $times
81 0 0 if $count > @all_backoff
84 0 0 if (&Cassandra::Client::Policy::LoadBalancing::Default::time() - $times->[-1] < $backoff)
99 0 0 unless $self->{'connected'}{$peer}