Branch Coverage

lib/Statistics/Sampler/Multinomial/AliasMethod.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
24 0 0 unless defined $prng
26 0 0 unless &blessed($prng)
28 0 0 unless $prng->can('rand')
40 0 0 unless ($self->{'data_sum_to_one'})
42 0 0 if ($sum != 1)
60 0 0 if ($q[$kk] < 1) { }
78 0 0 if ($q[$large] < 1) { }
100 0 0 unless defined wantarray
104 0 0 wantarray ? :
121 0 0 $prng->rand < $q->[$kk] ? :
143 0 0 $prng->rand < $q->[$kk] ? :