ActiveStandbyElector

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,620 of 1,6200%200 of 2000%1571573873875555
processWatchEvent(ZooKeeper, WatchedEvent)1470%240%1515404011
ensureParentZNode()1320%120%77222211
processResult(int, String, Object, Stat)1250%220%1212303011
processResult(int, String, Object, String)1230%180%1010292911
ActiveStandbyElector(String, int, String, List, List, ActiveStandbyElector.ActiveStandbyElectorCallback, int, boolean, SecurityUtil.TruststoreKeystore)960%120%77232311
tryDeleteOwnBreadCrumbNode()660%60%44131311
clearParentZNode()580%20%228811
reEstablishSession()490%60%44161611
fenceOldActive()490%40%33141411
joinElection(byte[])430%60%44111111
terminateConnection()410%40%33141411
becomeActive()400%60%44121211
connectToZooKeeper()390%20%228811
createConnection()380%40%33111111
writeBreadCrumbNode(Stat)360%40%336611
parentZNodeExists()350%40%334411
monitorLockNodeAsync()300%40%337711
getActiveData()290%40%339911
monitorActiveStatus()280%60%446611
joinElectionInternal()270%60%449911
isStaleClient(Object)260%20%226611
toString()260%20%222211
reJoinElection(int)240%20%229911
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
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