Condition Coverage

blib/lib/Redis/ClusterRider.pm
Criterion Covered Total %
condition 13 21 61.9


and 3 conditions

line !l l&&!r l&&r condition
298 3 0 1 $self->{'allow_slaves'} and @slave_nodes
387 0 7 0 $self->{'refresh_interval'} > 0 and Time::HiRes::tv_interval($self->{'_refresh_timestamp'}) > $self->{'refresh_interval'}
400 1 0 0 $cmd_info->{'movablekeys'} and $args->[1] > 0
416 1 1 3 $allow_slaves &&= $cmd_info->{'readonly'}

or 3 conditions

line l !l&&r !l&&!r condition
154 2 2 4 not &looks_like_number($seconds) or $seconds < 0
387 1 0 7 not defined $self->{'_slots'} or $self->{'refresh_interval'} > 0 and Time::HiRes::tv_interval($self->{'_refresh_timestamp'}) > $self->{'refresh_interval'}
489 0 0 2 $err_code eq 'MOVED' or $err_code eq 'ASK'