Branch Coverage

blib/lib/Vote/Count/IRV.pm
Criterion Covered Total %
branch 23 24 95.8


line true false branch
34 135 44 if @tiedchoices == 1
37 5 39 if (defined $self->{'last_tiebreaker'})
42 11 33 if (@tiedchoices == scalar keys %high)
47 18 70 if ($high{$_}) { }
58 1 3 $args{'ranking2'} ? :
67 34 18 defined $args{'active'} ? :
69 39 13 if (defined $args{'tiebreaker'}) { }
5 8 elsif (defined $self->TieBreakMethod) { }
85 0 251 if $roundctr > $maxround
89 44 207 if (defined $majority->{'winner'}) { }
28 179 elsif ($args{'btr'}) { }
101 8 171 if (scalar @bottom == scalar keys %{$active;})