Condition Coverage

blib/lib/AnyEvent/RipeRedis/Cluster.pm
Criterion Covered Total %
condition 17 29 58.6


and 3 conditions

line !l l&&!r l&&r condition
422 0 0 2 $self->{'allow_slaves'} and @slave_nodes
637 1 0 0 $cmd_info->{'movablekeys'} and $args->[1] > 0
653 0 2 5 $allow_slaves &&= $cmd_info->{'readonly'}
669 2 2 0 do { $node_index == scalar @{$nodes;} } && do { $node_index = 0 }
729 0 4 4 $err_code != 5 and ++$fails_cnt < scalar @{$nodes;}
811 0 0 0 not defined $err and @queued_commands

or 2 conditions

line l !l condition
667 4 25 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
183 2 2 3 not &looks_like_number($seconds) or $seconds < 0
705 0 0 8 $err_code == 26 or $err_code == 25
723 2 2 4 $cmd->{'on_node_error'} || $self->{'on_node_error'}