ReplicationAwareTokenAllocator

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total22 of 74797%6 of 5488%7473159120
addUnit(Object, int)917995%31381%3913601
confirmCandidate(ReplicationAwareTokenAllocator.CandidateInfo)48895%1583%1401901
applyOwnershipAdjustment(TokenAllocatorBase.BaseTokenInfo, TokenAllocatorBase.UnitInfo, Token, Token, double, ReplicationAwareTokenAllocator.UnitAdjustmentTracker)43589%1150%120601
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
removeUnit(Object)19100%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
toString()4100%n/a010101
static {...}100%n/a010101