FSPermissionChecker

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,582 of 1,5820%212 of 2120%1451453733733939
checkSubAccess(byte[][], int, INode, int, FsAction, boolean)2170%320%1717464611
checkPermission(INodesInPath, boolean, FsAction, FsAction, FsAction, FsAction, boolean)1570%140%88414111
checkPermission(INode, int, FsAction)1260%40%33323211
checkPermission(String, String, UserGroupInformation, INodeAttributes[], INode[], byte[][], int, String, int, boolean, FsAction, FsAction, FsAction, FsAction, boolean)1170%260%1414212111
hasAclPermission(INodeAttributes, FsAction, FsPermission, AclFeature)1040%280%1515292911
throwStickyBitException(String, INodeAttributes, String, INodeAttributes)710%40%336611
checkPermission(CachePool, FsAction)580%160%99161611
FSPermissionChecker(String, String, UserGroupInformation, INodeAttributeProvider, boolean, long)570%60%44151511
checkNotSymlink(INode, byte[][], int)570%60%44111111
hasPermission(INodeAttributes, FsAction)560%120%77141411
toAccessControlString(INodeAttributes, String, FsAction, boolean)530%40%33111111
getINodeAttrs(byte[][], int, INode, int)480%80%559911
checkTraverse(FSPermissionChecker, INodesInPath, boolean)420%80%55121211
checkAccessControlEnforcerSlowness(long, long, Class, boolean, String, String, Object)390%80%55101011
checkStickyBit(INodeAttributes[], byte[][], int)360%40%339911
getAuthorizationContextForSuperUser(String)350%40%33101011
checkPermissionWithContext(INodeAttributeProvider.AuthorizationContext)330%n/a119911
check(INodeAttributes[], byte[][], int, FsAction)280%60%445511
checkSimpleTraverse(INodesInPath)250%40%337711
initAccessControlEnforcer()210%20%226611
checkOwner(INodeAttributes[], byte[][], int)200%20%225511
checkTraverse(INodeAttributes[], INode[], byte[][], int)200%20%224411
denyUserAccess(String, String)190%20%226611
checkIsDirectory(INode, byte[][], int)190%40%335511
checkSuperuserPrivilege(String)180%20%226611
isStickyBitViolated(INodeAttributes, INodeAttributes)180%40%335511
runCheckPermission(FSPermissionChecker.CheckPermission, LongFunction)150%n/a115511
checkAccessControlEnforcerSlowness(long, INodeAttributeProvider.AccessControlEnforcer, boolean, INodeAttributeProvider.AuthorizationContext)140%n/a114411
getPath(byte[][], int, int)90%n/a111111
FSPermissionChecker(String, String, UserGroupInformation, INodeAttributeProvider)90%n/a112211
static {...}80%n/a112211
toAccessControlString(INodeAttributes, String, FsAction)70%n/a111111
isMemberOfGroup(String)50%n/a111111
setOperationType(String)40%n/a112211
checkSuperuserPrivilege()40%n/a112211
lambda$initAccessControlEnforcer$0(INodeAttributeProvider)40%n/a111111
getUser()30%n/a111111
isSuperUser()30%n/a111111
getAttributesProvider()30%n/a111111