UserGroupInformation

Source file "org/apache/hadoop/security/UserGroupInformation.java" was not found during generation of report.

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,015 of 2,0150%270 of 2700%2202204924928585
createLoginUser(Subject)1580%220%1212363611
initialize(Configuration, boolean)1010%140%88232311
main(String[])940%20%22161611
unprotectedRelogin(UserGroupInformation.HadoopLoginContext)810%100%66212111
doAs(PrivilegedExceptionAction)790%120%77171711
logoutUserFromKeytab()690%80%55171711
fixKerberosTicketOrder()680%100%66222211
doSubjectLogin(Subject, UserGroupInformation.LoginParams)680%80%55191911
spawnAutoRenewalThreadForUserCreds(boolean)520%80%55121211
getOsPrincipalClass()480%100%66151511
static {...}470%60%44141411
createProxyUser(String, UserGroupInformation)450%60%449911
print()450%20%229911
logUserInfo(Logger, String, UserGroupInformation)380%40%336611
reloginFromKeytab(boolean)370%140%88121211
toString()340%20%225511
hasSufficientTimeElapsed(long)320%40%336611
createRemoteUser(String, SaslRpcServer.AuthMethod)320%40%337711
getGroups()310%20%227711
getCredentials()300%40%337711
getLoginUser()280%60%449911
getOSLoginModuleName()260%120%777711
UserGroupInformation(Subject)260%40%336611
getCredentialsInternal()260%20%227711
logPrivilegedAction(Subject, Object)260%20%224411
getUGIFromTicketCache(String, String)250%20%226611
equals(Object)240%80%555511
logAllUserInfo(Logger, UserGroupInformation)240%40%336611
getTGT()230%40%337711
getPrimaryGroupName()230%20%224411
loginUserFromKeytab(String, String)220%20%225511
loginUserFromKeytabAndReturnUGI(String, String)220%20%226611
createProxyUserForTesting(String, UserGroupInformation, String[])220%20%226611
newLoginContext(String, Subject, UserGroupInformation.HadoopConfiguration)210%n/a115511
getUGIFromSubject(Subject)210%40%335511
reloginFromTicketCache()210%60%447711
createUserForTesting(String, String[])210%20%226611
getNextTgtRenewalTime(long, long, RetryPolicy)200%n/a114411
getCurrentUser()190%40%335511
getRefreshTime(KerberosTicket)180%n/a113311
getRealUser()180%20%223311
ensureInitialized()170%40%336611
relogin(UserGroupInformation.HadoopLoginContext)160%20%225511
getTokens()150%n/a113311
getKeytab()140%20%223311
addToken(Text, Token)140%n/a113311
reset()130%n/a117711
getBestUGI(String, String)130%40%335511
trimLoginMethod(String)130%20%224411
isFromKeytab()130%60%441111
isFromTicket()130%60%441111
addCredentials(Credentials)130%n/a114411
getLogin()120%20%222211
getRealAuthenticationMethod(UserGroupInformation)120%20%224411
shouldRelogin()100%40%331111
addToken(Token)100%20%221111
getGroupNames()100%n/a112211
getRealAuthenticationMethod()100%20%224411
doAs(PrivilegedAction)100%n/a112211
hasKerberosCredentials()90%20%221111
isAuthenticationMethodEnabled(UserGroupInformation.AuthenticationMethod)80%20%222211
isSecurityEnabled()70%20%221111
isHadoopLogin()70%20%221111
isInitialized()60%20%221111
addTokenIdentifier(TokenIdentifier)60%n/a111111
setAuthenticationMethod(SaslRpcServer.AuthMethod)60%n/a112211
setLogin(LoginContext)50%n/a112211
getTokenIdentifiers()50%n/a111111
setAuthenticationMethod(UserGroupInformation.AuthenticationMethod)50%n/a112211
setConfiguration(Configuration)40%n/a112211
loginUserFromSubject(Subject)40%n/a112211
setLoginUser(UserGroupInformation)40%n/a112211
checkTGTAndReloginFromKeytab()40%n/a112211
reloginFromKeytab()40%n/a112211
createRemoteUser(String)40%n/a111111
getShortUserName()40%n/a111111
getUserName()40%n/a111111
getAuthenticationMethod()40%n/a111111
hashCode()40%n/a111111
logAllUserInfo(UserGroupInformation)40%n/a112211
setShouldRenewImmediatelyForTests(boolean)30%n/a112211
isLoginKeytabBased()30%n/a111111
isLoginTicketBased()30%n/a111111
getSubject()30%n/a111111
reattachMetrics()20%n/a112211