ActiveStandbyElector

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,415 of 1,4150%200 of 2000%1571573873875555
processWatchEvent(ZooKeeper, WatchedEvent)1200%240%1515404011
ensureParentZNode()1060%120%77222211
processResult(int, String, Object, Stat)1000%220%1212303011
processResult(int, String, Object, String)890%180%1010292911
ActiveStandbyElector(String, int, String, List, List, ActiveStandbyElector.ActiveStandbyElectorCallback, int, boolean, SecurityUtil.TruststoreKeystore)800%120%77232311
tryDeleteOwnBreadCrumbNode()560%60%44131311
fenceOldActive()490%40%33141411
reEstablishSession()440%60%44161611
becomeActive()400%60%44121211
joinElection(byte[])380%60%44111111
connectToZooKeeper()380%20%228811
clearParentZNode()360%20%228811
terminateConnection()360%40%33141411
writeBreadCrumbNode(Stat)360%40%336611
createConnection()330%40%33111111
monitorLockNodeAsync()300%40%337711
getActiveData()290%40%339911
parentZNodeExists()270%40%334411
joinElectionInternal()270%60%449911
isStaleClient(Object)260%20%226611
reJoinElection(int)240%20%229911
monitorActiveStatus()230%60%446611
zkDoWithRetries(ActiveStandbyElector.ZKAction, KeeperException.Code)230%60%446611
createZooKeeper()220%20%227711
quitElection(boolean)170%40%336611
becomeStandby()150%20%225511
enterNeutralMode()150%20%225511
setAclsWithRetries(String)150%n/a113311
toString()150%20%222211
createLockNodeAsync()140%n/a112211
ActiveStandbyElector(String, int, String, List, List, ActiveStandbyElector.ActiveStandbyElectorCallback, int, SecurityUtil.TruststoreKeystore)120%n/a112211
createWithRetries(String, byte[], List, CreateMode)120%n/a111111
initiateZookeeper(ZKClientConfig)110%n/a111111
getDataWithRetries(String, boolean, Stat)110%n/a111111
setDataWithRetries(String, byte[], int)110%n/a111111
shouldRetry(KeeperException.Code, KeeperException.Code)110%40%331111
static {...}110%20%223311
fatalError(String)100%n/a114411
sleepFor(int)100%20%226611
deleteWithRetries(String, int)100%n/a112211
shouldRetry(KeeperException.Code)100%40%331111
getZKSessionIdForTests()90%20%223311
isSuccess(KeeperException.Code)70%20%221111
isNodeExists(KeeperException.Code)70%20%221111
isNodeDoesNotExist(KeeperException.Code)70%20%221111
isSessionExpired(KeeperException.Code)70%20%221111
reset()60%n/a113311
zkDoWithRetries(ActiveStandbyElector.ZKAction)50%n/a111111
reJoinElectionAfterFailureToBecomeActive()40%n/a112211
preventSessionReestablishmentForTests()40%n/a112211
allowSessionReestablishmentForTests()40%n/a112211
getHAZookeeperConnectionState()40%n/a111111
getWantToBeInElection()30%n/a111111
getStateForTests()30%n/a111111
isMonitorLockNodePending()30%n/a111111