org.apache.hadoop.security

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total34,506 of 34,5060%1,832 of 1,8320%2,1872,1878,2968,2961,2661,266188188
TestUserGroupInformation2,6790%620%8484660660535311
KDiag2,1140%1400%112112387387424211
UserGroupInformation1,9830%2640%230230552552989811
TestCredentials1,3740%80%2828222222242411
LdapGroupsMapping1,2930%1180%8484290290252511
TestGroupsCaching1,2440%320%3636321321202011
TestSecurityUtil1,0870%120%4646321321404011
TestPermission1,0690%160%2727258258191911
ShellBasedIdMapping1,0240%1180%9191269269323211
TestLdapGroupsMapping9900%n/a1919208208191911
TestUGILoginFromKeytab9820%180%2828248248191911
TestPermissionSymlinks8680%40%3131192192292911
TestShellBasedIdMapping8530%180%1919186186101011
SaslRpcClient7900%1090%7373209209171711
SecurityUtil7100%1000%8585192192353511
Credentials6770%440%5454165165313111
TestDoAsEffectiveUser6730%60%1818192192151511
TestRefreshUserMappings4830%100%13131161168811
TestKDiag4810%60%26267575232311
SaslInputStream4460%600%4545115115151511
TestLdapGroupsMappingWithBindUserSwitch4430%40%13139797111111
Groups3840%300%3535102102202011
TestFixKerberosTicketOrder3250%80%18187373141411
TestRaceWhenRelogin3050%140%161665659911
TestWhitelistBasedResolver3010%n/a5567675511
TestLdapGroupsMappingBase2850%n/a14145656141411
TestShellBasedUnixGroupsMapping2840%60%121276769911
ShellBasedUnixGroupsMapping2770%240%28287777161611
ProviderUtils2740%360%262673738811
CompositeGroupsMapping2600%240%23236464111111
UserGroupInformation.HadoopConfiguration2440%280%202058586611
TestLdapGroupsMappingWithOneQuery2330%40%8854546611
TestNetgroupCache2180%60%9961616611
SaslRpcServer2120%210%212154549911
SaslOutputStream2100%240%202057578811
TestLdapGroupsMappingWithFailover2000%n/a3339393311
UserGroupInformation.AutoRenewalForUserCredsRunnable1980%120%9955553311
SaslRpcServer.SaslDigestCallbackHandler1830%300%202049495511
SaslPlainServer1800%140%17174444101011
SecurityUtil.QualifiedHostResolver1790%260%202048487711
TestRuleBasedLdapGroupsMapping1770%n/a4443434411
Groups.GroupCacheLoader1710%140%121246465511
TestLdapGroupsMappingWithPosixGroup1630%n/a4436364411
TestGroupFallback1570%80%101041416611
TestCompositeGroupMapping1540%40%7729295511
UserGroupInformation.HadoopLoginModule1490%200%171739397711
SaslRpcClient.WrappedInputStream1420%140%121237375511
TestKDiagNoKDC1400%0%12122929111111
TestGroupsCaching.FakeGroupMapping1390%100%21215757161611
LdapGroupsMapping.LdapSslSocketFactory1370%100%17174242121211
SaslRpcClient.SaslClientCallbackHandler1330%260%151540402211
TestUGIWithMiniKdc1310%60%8837375511
SaslPropertiesResolver1310%40%12122828101011
ShellBasedUnixGroupsNetgroupMapping1300%100%121235357711
FastSaslClientFactory1200%140%101022223311
NetUtilsTestResolver1120%0%9926268811
User1100%100%18183333131311
UserGroupInformation.AuthenticationMethod1080%60%9921216611
KerberosAuthException1030%100%18183333131311
SaslRpcServer.AuthMethod1010%40%101019198811
JniBasedUnixGroupsNetgroupMapping1000%160%141431316611
FastSaslServerFactory990%120%9921213311
RuleBasedLdapGroupsMapping980%60%9924245511
TestRefreshUserMappings.MockUnixGroupsMapping970%n/a5519195511
NetgroupCache920%100%131326268811
TestUGILoginFromKeytab.new PrivilegedExceptionAction() {...}910%n/a2223232211
CustomizedCallbackHandler.Cache850%80%8821214411
UserGroupInformation.HadoopLoginContext830%40%9924247711
WhitelistBasedResolver810%80%101021216611
IngressPortBasedResolver800%40%6620204411
AuthenticationFilterInitializer800%40%5520203311
HttpCrossOriginFilterInitializer760%40%8822226611
HadoopKerberosName760%40%6622224411
TestLdapGroupsMappingBase.DummyLdapCtxFactory720%80%111128287711
CustomizedCallbackHandler720%n/a4414144411
JniBasedUnixGroupsMapping720%40%101025258811
TestIngressPortBasedResolver710%n/a2219192211
TestUGILoginFromKeytab.new PrivilegedExceptionAction() {...}690%n/a2218182211
TestAuthenticationFilter.new Answer() {...}680%n/a2216162211
SaslRpcServer.SaslGssCallbackHandler670%120%8817172211
TestJNIGroupsMapping610%0%5520204411
TestUserGroupInformation.new PrivilegedExceptionAction() {...}580%0%3316162211
TestNullGroupsMapping580%n/a3314143311
SecurityUtil.CacheableHostResolver580%80%7716163311
TestCompositeGroupMapping.GroupMappingProviderBase560%80%111117177711
TestProxyUserFromEnv550%0%3316162211
SaslMechanismFactory540%60%7714144411
TestShellBasedUnixGroupsMapping.TestGroupResolvable520%n/a3315153311
TestShellBasedUnixGroupsMapping.TestNumericGroupResolvable520%n/a3315153311
JniBasedUnixGroupsMappingWithFallback520%40%8816166611
JniBasedUnixGroupsNetgroupMappingWithFallback520%40%8816166611
TestShellBasedUnixGroupsMapping.TestGroupNotResolvable510%n/a3312123311
UserGroupInformation.TestingGroups510%0%5513134411
ManualTestKeytabLogins510%0%3313132211
UserGroupInformation.UgiMetrics500%40%7711115511
TestGroupsCaching.new Supplier() {...}500%n/a22662211
TestHttpCrossOriginFilterInitializer500%n/a2214142211
UserGroupInformation.LoginParams480%60%66993311
TestUGIWithExternalKdc480%n/a3321213311
TestDoAsEffectiveUser.new PrivilegedExceptionAction() {...}470%n/a22992211
TestDoAsEffectiveUser.new PrivilegedExceptionAction() {...}450%n/a22882211
TestDoAsEffectiveUser.new PrivilegedExceptionAction() {...}450%n/a22882211
TestLdapGroupsMappingWithFailover.new Answer() {...}420%0%33992211
UserGroupInformation.RealUser420%60%9912126611
TestAuthenticationFilter410%n/a22992211
SaslRpcClient.WrappedOutputStream400%0%3312122211
TestShellBasedUnixGroupsMapping.TestDelayedGroupCommand390%0%44773311
TestRaceWhenRelogin.new PrivilegedExceptionAction() {...}390%n/a22662211
SecurityUtil.TruststoreKeystore390%n/a5510105511
TestShellBasedUnixGroupsMapping.TestGroupUserNotExist390%n/a22992211
Credentials.SerializedFormat380%n/a3310103311
TestFixKerberosTicketOrder.new PrivilegedExceptionAction() {...}370%n/a22662211
TestFixKerberosTicketOrder.new PrivilegedExceptionAction() {...}370%n/a22662211
TestFixKerberosTicketOrder.new PrivilegedExceptionAction() {...}370%n/a22662211
TestFixKerberosTicketOrder.new PrivilegedExceptionAction() {...}370%n/a22662211
TestFixKerberosTicketOrder.new PrivilegedExceptionAction() {...}370%n/a22662211
TestFixKerberosTicketOrder.new PrivilegedExceptionAction() {...}370%n/a22662211
TestCompositeGroupMapping.ClusterProvider360%40%55993311
ShellBasedIdMapping.PassThroughMap360%40%5510103311
TestCompositeGroupMapping.UserProvider360%40%55993311
SaslRpcServer.QualityOfProtection350%n/a33883311
TestPermissionSymlinks.new PrivilegedExceptionAction() {...}350%n/a22772211
ShellBasedIdMapping.StaticMapping340%40%55883311
TestPermissionSymlinks.new PrivilegedExceptionAction() {...}330%n/a22882211
UserGroupInformation.TicketCacheRenewalRunnable330%n/a22882211
CustomizedCallbackHandler.DefaultHandler320%40%55773311
SaslPlainServer.SaslPlainServerFactory320%60%66553311
TestLdapGroupsMapping.new Runnable() {...}320%n/a22992211
Groups.GroupCacheLoader.new FutureCallback() {...}320%n/a33773311
TestUserGroupInformation.GetTokenThread310%0%3313132211
TestUserGroupInformation.new PrivilegedExceptionAction() {...}300%n/a22662211
TestPermissionSymlinks.new PrivilegedExceptionAction() {...}300%n/a22772211
KDiag.KerberosDiagsFailure300%n/a44994411
TestGroupsCaching.ExceptionalGroupMapping290%n/a66996611
SaslRpcServer.new PrivilegedExceptionAction() {...}280%n/a22222211
LdapGroupsMapping.BindUserInfo280%0%55994411
TestPermissionSymlinks.new PrivilegedExceptionAction() {...}270%n/a22552211
TestUGILoginFromKeytab.new Answer() {...}240%n/a22552211
SecurityUtilTestHelper240%60%66883311
TestDoAsEffectiveUser.new PrivilegedExceptionAction() {...}240%n/a22442211
TestDoAsEffectiveUser.new PrivilegedExceptionAction() {...}240%n/a22442211
TestDoAsEffectiveUser.new PrivilegedExceptionAction() {...}240%n/a22442211
TestDoAsEffectiveUser.new PrivilegedExceptionAction() {...}240%n/a22442211
TestLdapGroupsMapping.new Runnable() {...}240%n/a22772211
UserGroupInformation.new ThreadFactory() {...}240%n/a22552211
TestUserGroupInformation.new Answer() {...}230%n/a22442211
TestUGILoginFromKeytab.new PrivilegedExceptionAction() {...}0%n/a22552211
TestUGILoginFromKeytab.new PrivilegedExceptionAction() {...}0%n/a22552211
ShellBasedUnixGroupsMapping.PartialGroupNameException0%n/a33773311
TestPermissionSymlinks.new PrivilegedExceptionAction() {...}0%n/a22552211
TestGroupsCaching.new Thread() {...}0%n/a22662211
TestGroupsCaching.new Thread() {...}0%n/a22662211
TestUserGroupInformation.new PrivilegedExceptionAction() {...}0%n/a22662211
RuleBasedLdapGroupsMapping.Rule0%n/a11221111
UserGroupInformation.LoginParam0%n/a11441111
TestUGILoginFromKeytab.new Callable() {...}0%n/a22442211
TestLdapGroupsMappingWithOneQuery.TestLdapGroupsMapping0%n/a33553311
TestUserGroupInformation.new Callable() {...}0%n/a22222211
TestUGILoginFromKeytab.new Callable() {...}0%n/a22442211
TestCompositeGroupMapping.TestUser0%n/a22772211
TestUserGroupInformation.new PrivilegedExceptionAction() {...}0%n/a22442211
TestUserGroupInformation.new PrivilegedExceptionAction() {...}0%n/a22442211
TestPermissionSymlinks.new PrivilegedExceptionAction() {...}0%n/a22442211
TestPermissionSymlinks.new PrivilegedExceptionAction() {...}0%n/a22442211
TestPermissionSymlinks.new PrivilegedExceptionAction() {...}0%n/a22442211
Groups.TimerToTickerAdapter0%n/a22552211
AnnotatedSecurityInfo0%n/a33333311
UserGroupInformation.KeytabRenewalRunnable0%n/a22552211
TestGroupsCaching.FakeunPrivilegedGroupMapping0%n/a33443311
SaslPlainServer.SecurityProvider0%n/a11441111
TestUserGroupInformation.new PrivilegedExceptionAction() {...}0%n/a22442211
AccessControlException0%n/a33553311
TestUserFromEnv0%n/a22552211
SecurityUtil.CacheableHostResolver.new CacheLoader() {...}0%n/a22222211
TestUserGroupInformation.new PrivilegedExceptionAction() {...}0%n/a22222211
TestUserGroupInformation.new PrivilegedExceptionAction() {...}0%n/a22222211
TestPermissionSymlinks.new PrivilegedExceptionAction() {...}0%n/a22222211
NullGroupsMapping0%n/a55555511
TestDoAsEffectiveUser.new PrivilegedExceptionAction() {...}0%n/a22222211
TestUserGroupInformation.new PrivilegedExceptionAction() {...}0%n/a22222211
TestUserGroupInformation.11.new PrivilegedExceptionAction() {...}0%n/a22222211
TestUserGroupInformation.new PrivilegedExceptionAction() {...}0%n/a22222211
TestUserGroupInformation.new PrivilegedExceptionAction() {...}0%n/a22222211
SecurityUtil.StandardHostResolver0%n/a22332211
GroupMappingServiceProvider0%n/a11111111
TestUserGroupInformation.DummyLoginConfiguration0%n/a11111111
SecurityInfo0%n/a11111111
IdMappingConstant0%n/a11111111