Branch Coverage

blib/lib/List/Util/WeightedChoice.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
43 2 2 if 'CODE' eq ref $weightsArg
45 2 2 if ($calcWeight) { }
50 0 2 if (@$objects != @weights)
58 0 12 if $weight < 0
66 4 4 if $weightIndex < $range