Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B ElectionRunner::checkCandidates() 0 17 5 5.04 0 0 0
B STV\ElectionRunner::allocateVotes() 0 13 3 3 0 0 0
B Voting\STV\ElectionRunner::run() 0 11 1 1 0 0 0
B ElectionRunner::processReallocationRounds() 0 11 4 4 0 0 0
A ElectionRunner::getLowestCandidates() 0 12 4 4 0 0 0
A STV\Election::getCandidatesStatus() 0 9 4 4 0 0 0
A ElectionRunner::checkBallotValidity() 0 6 4 4 0 0 0
A ElectionFactory::createCandidateBallotCollection() 0 12 3 3 0 0 0
A Voting\STV\Ballot::getNextChoice() 0 5 2 2 0 0 0
A Voting\STV\Candidate::__construct() 0 4 1 1 0 0 0
A ElectionRunner::rejectInvalidBallots() 0 9 3 3 0 0 0
A Michaelc\Voting\STV\Ballot::setWeight() 0 3 1 1 0 0 0
A Voting\STV\Election::getCandidateIds() 0 5 2 2 0 0 0
A ElectionRunner::transferSurplusVotes() 0 8 3 3 0 0 0
A Voting\STV\Election::__construct() 0 5 1 1 0 0 0