blib/lib/Net/Async/CassandraCQL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 29 | 55.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
416 | 1 | 4 | 6 | @nodeids and $have_primaries < $$self{'primaries'} |
446 | 6 | 2 | 0 | defined $$node{'down_time'} and $now - $$node{'down_time'} > 60 |
613 | 2 | 1 | 0 | $$nodes{$_}{'data_center'} ne $dc and $old_nodeid = $_, last |
line | l | !l | condition |
---|---|---|---|
166 | 2 | 5 | $$params{'primaries'} //= 1 |
192 | 0 | 5 | $params{'hosts'} ||= [delete $params{'host'}] |
304 | 0 | 0 | $$self{'service'} // 9042 |
698 | 14 | 5 | $$self{'next_primary'} // 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
304 | 0 | 0 | 0 | $service //= $$self{'service'} // 9042 |
450 | 2 | 2 | 0 | $new_primary ||= $nodeid |
802 | 15 | 0 | 0 | $consistency //= $$self{'default_consistency'} |
919 | 4 | 0 | 0 | $consistency //= $$self{'default_consistency'} |