Branch Coverage

blib/lib/Vote/Count/Floor.pm
Criterion Covered Total %
branch 27 28 96.4


line true false branch
35 7 25 if ($I->FloorRounding eq 'down') { }
17 8 elsif ($I->FloorRounding eq 'up') { }
4 4 elsif ($I->FloorRounding eq 'round') { }
3 1 elsif ($I->FloorRounding eq 'nextint') { }
39 7 10 if $num == int $num
52 14 1 $floorpct >= 1 ? :
62 98 81 if ($ranked->{$s} >= $cutoff) { }
68 16 1 if (@remove) { }
89 5 3 $self->BallotSetType eq 'rcv' ? :
98 4 0 $self->BallotSetType eq 'rcv' ? :
104 1 5 if ($floor > 1)
125 2 4 if ($rule eq 'ApprovalFloor') { }
2 2 elsif ($rule eq 'TopCountFloor') { }
1 1 elsif ($rule eq 'TCA') { }