Branch Coverage

blib/lib/Vote/Count/IRV.pm
Criterion Covered Total %
branch 19 20 95.0


line true false branch
33 135 44 if @tiedchoices == 1
36 5 39 if (defined $self->{'last_tiebreaker'})
41 11 33 if (@tiedchoices == scalar keys %high)
46 18 70 if ($high{$_}) { }
54 34 14 if (defined $active) { }
57 9 39 unless (defined $tiebreaker)
58 1 8 if (defined $self->TieBreakMethod) { }
77 0 219 if $roundctr > $maxround
81 40 179 if (defined $majority->{'winner'}) { }
87 8 171 if (scalar @bottom == scalar keys %{$active;})