Branch Coverage

blib/lib/Vote/Count/Start.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
90 1 1 if ($ARGS->{'BallotFile'})
94 0 2 unless (defined $ARGS->{'BallotSet'}{'choices'})
101 1 1 unless (defined $ARGS{'FloorRule'})
107 0 1 if ($flr eq 'TopCount') { }
0 1 elsif ($flr eq 'TCA') { }
1 0 elsif ($flr eq 'Approval') { }
131 2 0 if ($PluralityTop->{'winner'}) { }
146 0 2 if ($AWinner->{'winner'}) { }
161 0 2 if ($AWinner->{'winner'}) { }
174 0 2 if ($majority->{'winner'}) { }
188 1 1 if ($matrix->CondorcetWinner) { }