NodeStatusUpdaterImpl

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,541 of 1,5410%142 of 1420%1141144244244343
registerWithRM()2160%260%1414616111
serviceInit(Configuration)1530%40%33424211
getContainerStatuses()900%100%66222211
parseCredentials(Map)750%60%44161611
NodeStatusUpdaterImpl(Context, Dispatcher, NodeHealthCheckerService, NodeManagerMetrics)660%n/a11171711
getNMContainerStatuses()640%80%55181811
removeVeryOldStoppedContainersFromCache()640%80%55212111
removeOrTrackCompletedContainersFromContext(List)630%80%55171711
rebootNodeStatusUpdaterAndRegisterWithRM()580%20%22191911
getNodeStatus(int)570%n/a11191911
handleShutdownOrResyncCommand(NodeHeartbeatResponse)560%40%33141411
createKeepAliveApplicationList()530%80%55151511
serviceStart()420%n/a11141411
getRunningApplications()380%40%339911
serviceStop()340%100%66101011
trackAppForKeepAlive(ApplicationId)310%n/a114411
unRegisterNM()300%n/a11101011
updateConfiguredResourcesViaPlugins(Resource)300%80%559911
isApplicationStopped(ApplicationId)290%80%557711
getIncreasedContainers()280%20%226611
addCompletedContainer(ContainerId)260%20%227711
trackAppsForKeepAlive(List)230%80%555511
getLogAggregationReportsForApps(ConcurrentLinkedQueue)230%20%225511
updateNMResource(Resource)200%n/a116611
startStatusUpdater()180%n/a114411
isNMUnderSupervisionWithRecoveryEnabled()170%40%333311
createNMNodeLabelsHandler(NodeLabelsProvider)130%20%224411
createNMNodeAttributesHandler(NodeAttributesProvider)130%20%223311
sendOutofBandHeartBeat()120%n/a114411
isContainerRecentlyStopped(ContainerId)120%n/a112211
clearFinishedContainersFromCache()120%n/a114411
isTokenKeepAliveEnabled(Configuration)110%40%332211
getRMClient()80%n/a112211
getContainersUtilization()80%n/a113311
getNodeUtilization()80%n/a113311
stopRMProxy()70%20%223311
getOpportunisticContainersStatus()70%n/a113311
reportException(Exception)70%n/a113311
setNodeAttributesProvider(NodeAttributesProvider)40%n/a112211
setNodeLabelsProvider(NodeLabelsProvider)40%n/a112211
getStatusUpdaterThreadState()40%n/a111111
static {...}40%n/a112211
getRMIdentifier()30%n/a111111