Branch Coverage

blib/lib/Algorithm/Voting/Sortition.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
114 3 5 if ($$self{'n'} < 1)
133 1 1 if (@_)
146 1 40 unless (exists $$self{'keystring'})
172 13 7 if (reftype $thing) { }
173 10 3 if (reftype $thing eq 'ARRAY') { }
2 1 elsif (reftype $thing eq 'HASH') { }
200 5 7 if (grep {not looks_like_number $_;} @items) { }
238 1 25 if ($i->is_nan)