GameController

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total303 of 1,66481%61 of 21671%5914182461030
handleDefendCommand(String[])426360%7750%78143101
isAttackPreconditionsValid(Country, Country)384051%4660%46102101
buildCardSet(String[])335662%6650%5781801
handleAttackMoveCommand(String[])306568%6650%5762601
handleAttackCommand(String[])2212084%41477%41053801
isAttackValid(Country, int, int, boolean)223460%2880%2661501
isNumberOfPlayerValid()221540%2250%2351101
handlePlaceArmyCommand(String)202353%3350%3461301
enterReinforcement()162560%2466%243901
enterAttackPhase()152360%2466%243801
handleReinforceCommand(String[])112468%1150%122801
handleGamePlayerCommand(String[])92875%3350%3531101
handleFortifyCommand(String[])64287%4450%4531601
showCurrentPlayer()59094%1787%1522201
initPlayersUnplacedArmies()53386%3562%3731801
handleMultipleFortificationCommand(String[])47995%3770%3611301
startRoundRobinPlayers()32388%2250%232701
attackResult(Country, Country)132100%11593%1905501
populateCountries()79100%1787%1502801
exchangeCard(String[])62100%2100%020901
simulateAttack(GameBoardPlaying)57100%6100%0401701
handlePlaceAllCommand()51100%10100%0601201
getCurrentPlayer(boolean)44100%1990%1601101
enterFortifyPhase()43100%1787%150901
turnToNextPlayer()36100%2675%2501001
isGameEnded()30100%4100%0301101
endAttackPhase()20100%n/a010801
setEndOfGamePhase()17100%n/a010401
getCurrentPlayer()4100%n/a010101
GameController()3100%n/a010101