ReplicationAwareTokenAllocator

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total747 of 7470%54 of 540%47471591592020
addUnit(Object, int)1880%160%99363611
confirmCandidate(ReplicationAwareTokenAllocator.CandidateInfo)920%60%44191911
evaluateImprovement(ReplicationAwareTokenAllocator.CandidateInfo, double, double)810%40%33161611
populateTokenInfo(TokenAllocatorBase.BaseTokenInfo, TokenAllocatorBase.GroupInfo)680%120%77212111
createTokenInfos(Map, TokenAllocatorBase.GroupInfo)610%40%33151511
createCandidates(TokenAllocatorBase.TokenInfo, TokenAllocatorBase.UnitInfo, double)470%20%22121211
applyOwnershipAdjustment(TokenAllocatorBase.BaseTokenInfo, TokenAllocatorBase.UnitInfo, Token, Token, double, ReplicationAwareTokenAllocator.UnitAdjustmentTracker)390%20%226611
ReplicationAwareTokenAllocator(NavigableMap, ReplicationStrategy, IPartitioner)340%20%226611
populateTokenInfoAndAdjustUnit(TokenAllocatorBase.TokenInfo, TokenAllocatorBase.GroupInfo)260%n/a116611
furtherStartToken(Token, Token, Token)240%60%445511
generateSplits(Object, int)220%n/a114411
removeUnit(Object)190%n/a114411
optimalTokenOwnership(int)130%n/a111111
populateCandidate(ReplicationAwareTokenAllocator.CandidateInfo)80%n/a112211
findUpdatedReplicationStart(TokenAllocatorBase.TokenInfo, ReplicationAwareTokenAllocator.CandidateInfo)80%n/a111111
unitCount()50%n/a111111
sq(double)40%n/a111111
toString()40%n/a111111
getReplicas()30%n/a111111
static {...}0%n/a111111