Branch Coverage

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


line true false branch
61 2 12 unless defined $active
68 54 182 unless defined $active->{$v}
70 3 61 unless keys %votes
74 64 118 if ($votes{$c} == $max)
88 69 359 unless defined $active
97 43828 21743 if (defined $topcount{$v})
112 1 442 unless (keys %{$self->Active} or defined $active)
115 428 14 if ($self->BallotSet->{'options'}{'rcv'} == 1) { }
14 0 elsif ($self->BallotSet->{'options'}{'range'} == 1) { }
151 306 2 unless defined $active
152 26 282 unless (defined $topcount)
158 56 1428 if ($topc->{$t} >= $threshold)
186 52 246 if ($majority->{'winner'})