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 ElectionRunner::electCandidate() 0 12 3 3 0 0 0
A STV\Ballot::incrementLevelUsed() 0 3 1 1 0 0 0
A ElectionRunner::checkAllBallotCandidatesValid() 0 7 3 3 0 0 0
A Voting\STV\ElectionRunner::setQuota() 0 7 1 1 0 0 0
A Voting\STV\Ballot::__construct() 0 4 1 1 0 0 0
A ElectionRunner::eliminateCandidates() 0 9 1 1 0 0 0
A Voting\STV\Ballot::getLastChoice() 0 5 2 2 0 0 0