Branch Coverage

lib/Statistics/Sampler/Multinomial.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
19 1 6 unless defined $data
21 3 3 unless XXX
25 1 2 if $first_neg_idx >= 0
55 0 2 unless defined $prng
58 0 2 unless &blessed($prng)
60 0 2 unless $prng->can('binomial')
73 0 2 if ($self->{'data_sum_to_one'}) { }
78 2 0 if ($sum != 1)
116 0 34 unless ($data->[$kk])