Branch Coverage

blib/lib/Math/Random/Discrete.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
15 0 1 unless defined $_weights and @$_weights
17 0 1 if defined $values and @$values != @$_weights
38 5 5 if ($weights[$i] <= $avg) { }
58 5 4 if $weights[$j] <= $avg
86 36013 18987 $rf < $$F[$ri] ? :
90 55000 0 $values ? :