Branch Coverage

blib/lib/Hash/ConsistentHash.pm
Criterion Covered Total %
branch 0 14 0.0


line true false branch
92 0 0 unless ref $params{'hash_func'} eq 'CODE'
99 0 0 if (ref $params{'buckets'} eq 'ARRAY') { }
0 0 elsif (ref $params{'buckets'} eq 'HASH') { }
106 0 0 unless @dest
122 0 0 if defined $$self{'ring'}[$n]
164 0 0 if ($returned >= $$self{'buckets'})
170 0 0 if $idx > $$self{'mask'}