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 STV\Election::getStateCandidates() 0 6 3 3 0 0 0
A ElectionRunner::electCandidates() 0 6 3 3.04 0 0 0
A ElectionFactory::createElection() 0 9 2 2 0 0 0
A Voting\STV\Candidate::setState() 0 3 1 1 0 0 0
A STV\ElectionRunner::__construct() 0 8 1 1 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