ReplicationAwareTokenAllocator

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total50 of 74793%7 of 5487%10479159320
removeUnit(Object)190%n/a114411
addUnit(Object, int)1417492%41275%4923601
confirmCandidate(ReplicationAwareTokenAllocator.CandidateInfo)48895%1583%1401901
applyOwnershipAdjustment(TokenAllocatorBase.BaseTokenInfo, TokenAllocatorBase.UnitInfo, Token, Token, double, ReplicationAwareTokenAllocator.UnitAdjustmentTracker)43589%1150%120601
toString()40%n/a111111
getReplicas()30%n/a111111
furtherStartToken(Token, Token, Token)22291%1583%141501
evaluateImprovement(ReplicationAwareTokenAllocator.CandidateInfo, double, double)81100%4100%0301601
populateTokenInfo(TokenAllocatorBase.BaseTokenInfo, TokenAllocatorBase.GroupInfo)68100%12100%0702101
createTokenInfos(Map, TokenAllocatorBase.GroupInfo)61100%4100%0301501
createCandidates(TokenAllocatorBase.TokenInfo, TokenAllocatorBase.UnitInfo, double)47100%2100%0201201
ReplicationAwareTokenAllocator(NavigableMap, ReplicationStrategy, IPartitioner)34100%2100%020601
populateTokenInfoAndAdjustUnit(TokenAllocatorBase.TokenInfo, TokenAllocatorBase.GroupInfo)26100%n/a010601
generateSplits(Object, int)22100%n/a010401
optimalTokenOwnership(int)13100%n/a010101
populateCandidate(ReplicationAwareTokenAllocator.CandidateInfo)8100%n/a010201
findUpdatedReplicationStart(TokenAllocatorBase.TokenInfo, ReplicationAwareTokenAllocator.CandidateInfo)8100%n/a010101
unitCount()5100%n/a010101
sq(double)4100%n/a010101
static {...}100%n/a010101