Branch Coverage

blib/lib/Role/Random/PerInstance.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
35 0 0 unless ($self->random_seed or $self->_seed_is_set)
41 6 4024 unless $self->_seed_is_set
52 2261 741 $rand < $chance ? :
64 6000 5032 if $step
65 4000 7032 $self->random_seed ? :
70 6000 5032 if $step
90 1000 9000 unless $weight
108 1209 2458 0 == $index ? :
109 2000 1667 if ($prev < $elem and $curr >= $elem) { }
779 888 elsif ($curr > $elem) { }
119 0 3002 $num > $max ? :
0 3002 $num < $min ? :