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
37 3 44 0 defined $weight and $weight < 0
44 31 0 1 ref $data eq 'REF' and ref $$data eq 'HASH'

or 2 conditions

line l !l condition
15 1 40 $args ||= {}
60 70 0 $self->_normalize($data) || (next)
86 4 1 $self->_normalize($value) || (return)
107 5 1 $self->_normalize($value) || (return)

or 3 conditions

line l !l&&r !l&&!r condition
21 1 0 40 $args->{'default_weight'} || $DEFAULT_WEIGHT
0 0 41 $args->{'btree_border'} || $BTREE_BORDER