Branch Coverage

blib/lib/Vote/Count/TopCount.pm
Criterion Covered Total %
branch 25 26 96.1


line true false branch
61 2 7 unless defined $active
68 38 118 unless defined $active->{$v}
70 3 41 unless keys %votes
74 44 74 if ($votes{$c} == $max)
88 78 304 unless defined $active
97 43354 21729 if (defined $topcount{$v})
112 1 391 unless (keys %{$self->Active} or defined $active)
115 382 9 if ($self->BallotSet->{'options'}{'rcv'} == 1) { }
9 0 elsif ($self->BallotSet->{'options'}{'range'} == 1) { }
149 274 2 unless defined $active
150 26 250 unless (defined $topcount)
156 52 1250 if ($topc->{$t} >= $threshold)
184 48 218 if ($majority->{'winner'})