Condition Coverage

blib/lib/Data/WeightedRoundRobin.pm
Criterion Covered Total %
condition 14 20 70.0


and 3 conditions

line !l l&&!r l&&r condition
36 1 40 0 defined $weight and $weight < 0
43 28 0 1 ref $data eq 'REF' and ref $$data eq 'HASH'

or 2 conditions

line l !l condition
14 1 37 $args ||= {}
59 63 0 $self->_normalize($data) || (next)
85 3 1 $self->_normalize($value) || (return)
106 4 1 $self->_normalize($value) || (return)

or 3 conditions

line l !l&&r !l&&!r condition
15 1 0 37 $$args{'default_weight'} || $DEFAULT_WEIGHT
0 0 38 $$args{'btree_border'} || $BTREE_BORDER