# SecuityServiceImpl

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 1,614 of 2,678 | 39% | 136 of 204 | 33% | 189 | 275 | 391 | 624 | 114 | 173
saveOrUpdateMenuRelation(Menu, HashMap) |  | 0% |  | 0% | 14 | 14 | 67 | 67 | 1 | 1
getInformUserAndMsg(Long) |  | 0% |  | 0% | 8 | 8 | 27 | 27 | 1 | 1
processMenu(Menu, Label, Long, String) |  | 0% |  | 0% | 5 | 5 | 15 | 15 | 1 | 1
process(NamedObject) |  | 0% |  | 0% | 10 | 10 | 19 | 19 | 1 | 1
processLabel(String, String, String) |  | 0% |  | 0% | 4 | 4 | 18 | 18 | 1 | 1
buildListOfDeletedDuplicateMenu(List) |  | 0% |  | 0% | 3 | 3 | 11 | 11 | 1 | 1
getRoleGrantUserGroup(long) |  | 0% |  | 0% | 3 | 3 | 11 | 11 | 1 | 1
releaseOrCancelInformToUser(List, String) |  | 0% |  | 0% | 4 | 4 | 12 | 12 | 1 | 1
getUserGroupGrantRoleList(long) |  | 0% |  | 0% | 3 | 3 | 11 | 11 | 1 | 1
getRoleGrantUser(long) |  | 0% |  | 0% | 3 | 3 | 10 | 10 | 1 | 1
getUserMenu(long, Languages) |  | 0% |  | 0% | 4 | 4 | 9 | 9 | 1 | 1
getUserRoles(long) |  | 0% |  | 0% | 3 | 3 | 7 | 7 | 1 | 1
deleteMenuRelation(long, Long) |  | 0% |  | 0% | 3 | 3 | 7 | 7 | 1 | 1
addSubMenuToMenu(Relation) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
hasRelationEditPermission(Long, Long, Long) |  | 0% |  | 0% | 3 | 3 | 2 | 2 | 1 | 1
processLabelItem(String, Label) |  | 0% |  | n/a | 1 | 1 | 5 | 5 | 1 | 1
hasLotLocation(String) |  | 0% |  | 0% | 3 | 3 | 3 | 3 | 1 | 1
getRole(Role) |  | 0% |  | 0% | 2 | 2 | 5 | 5 | 1 | 1
removeUserFromRole(Relation) |  | 0% |  | n/a | 1 | 1 | 4 | 4 | 1 | 1
addUserToRole(Relation) |  | 0% |  | n/a | 1 | 1 | 4 | 4 | 1 | 1
getRelationHistory(Long) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
deleteUserPermissions(Relation) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
removeStationRelation(Relation) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
isExistedRelation(long, long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getSecurityMenuListById(long, Languages, String, String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isExistedRelation(long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isHasBtnPermission(long, String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
changeUserStatus(long, String, String) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
addUserToUsergroup(Relation) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
getUsers(UserGroup) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
removeUserFromGroup(Relation) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
addOperationToStation(Relation) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
addUserToStation(Relation) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
removeEquipmentFromStation(Relation) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
removeOperationFromStation(Relation) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
removeUserFromStation(Relation) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
getMenuFromRrn(long, long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getUserById(String, long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getGroupUserById(String, long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
insertButtonMenuExt(Long, Long) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
updateButtonMenu(Long, Long) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
updateRoleButtonRelation(Long, List) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
updatePassword(long, String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
insertUserGroup(UserGroup) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getEquipmentOfStation(long, long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
checkUserExistedUserGroups(Long, String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getInformUser(User, Page) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getInformHistory(User, Page) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
filterMenu(long, List) |  | 95% |  | 85% | 2 | 8 | 2 | 28 | 0 | 1
getUserBelongUserGroup(long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getUserGroupById(String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
updateButton(Button) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
deleteAllButtonRelation(Long) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
deleteButton(Button) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
getMenu(Menu) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
insertMenu(Menu) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
deleteMenu(Menu) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
insertRole(Role) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getSubMenus(long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getParentMenu(long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
updateRole(Role) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
updateMenu(Menu) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
getUserByLdapId(String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getUserGroup(UserGroup) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
insertStation(Station) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
insertUser(User) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
deleteStation(Station) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
deleteUser(User) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
deleteUserGroup(UserGroup) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
updateStation(Station) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
updateUser(User) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
updateUserGroup(UserGroup) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
isAdminGroup(long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
deleteRole(Role) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
addButton(Button) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
getOperationOfStation(long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getUserOfStation(long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getStationsByEquips(long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getUserName(long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getUserInfo4Alarm(long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getUserInfo4AlarmByUserGroup(long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getUserInfoForParam(Map) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getUserGroupRrnsByUserRrn(Long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
deleteRoleRelation(Relation) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
checkPassword(long, String) |  | 86% |  | 50% | 3 | 4 | 1 | 7 | 0 | 1
setNecessaryParameters(Relation, String) |  | 80% |  | 75% | 1 | 3 | 1 | 5 | 0 | 1
getSecurityFlag(long, String, String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
validUser(String, String, long) |  | 95% |  | 75% | 2 | 5 | 1 | 13 | 0 | 1
getRootMenuTree(Long, Languages) |  | 88% |  | 50% | 1 | 2 | 1 | 5 | 0 | 1
checkRole(Long, Long, String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getGrantSecurityMenuList(long, Languages) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getMenuTree(long, Languages, String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getMenuTreeRoot(long, Languages) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getMenuTreeRootLeaf(long, Languages, String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getUserMenuRrn(long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getClassfication(Long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getClassfication(String, Long, Long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getLotAttributes() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getObjectAttributeValue(long, int, long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
searchResults(Page, Map, String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getButtonDesc(String, Long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
checkUserHasMenu(String, String, Long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getTreeDetail(TreeDetail) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getSecurityClass(SecurityClass) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
insertTreeDetail(TreeDetail) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
insertSecurityClass(SecurityClass) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getRolesByObjectType(String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getTreeChilds(TreeDetail) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getUserGroupsByRole(Role) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getScreensBySecurityClass(SecurityClass) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getGroupsBySecurityClass(SecurityClass) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getUserType(User) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isNodeInTree(Long, Long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
maintainClassfication(Long, String[]) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
maintainClassfication(Long, String[], String[]) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
updateObjectAttributeValue(long, int, long, String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
updateSecurityClass(SecurityClass) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
updateTreeDetail(TreeDetail) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
changeUserPassword(User) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
qrySecuritySysParaSetTree(Long, Languages) |  | 100% |  | 95% | 1 | 13 | 0 | 53 | 0 | 1
convertNode2Map(MenuTreeNode) |  | 100% |  | n/a | 0 | 1 | 0 | 14 | 0 | 1
getRoleMenu(long, long, Languages) |  | 100% |  | 100% | 0 | 6 | 0 | 13 | 0 | 1
getRoleGrantMenu(long) |  | 100% |  | 75% | 1 | 3 | 0 | 10 | 0 | 1
getUserGrantRoleList(long) |  | 100% |  | 75% | 1 | 3 | 0 | 9 | 0 | 1
getUserRoleList(Long) |  | 100% |  | 100% | 0 | 2 | 0 | 8 | 0 | 1
getLotLocationMenuButtonIds(long) |  | 100% |  | 50% | 1 | 2 | 0 | 6 | 0 | 1
getMenuListFilterMenuIds(long) |  | 100% |  | 50% | 1 | 2 | 0 | 6 | 0 | 1
getUserWithGroupGrantRoleList(long) |  | 100% |  | n/a | 0 | 1 | 0 | 4 | 0 | 1
getUserRoleListWithGroupGrant(long) |  | 100% |  | n/a | 0 | 1 | 0 | 4 | 0 | 1
getUserAuthorizationMenu(long, long, Languages) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getRootMenuRrn(long) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
insertUserPermissions(Relation) |  | 100% |  | n/a | 0 | 1 | 0 | 3 | 0 | 1
insertStationRelation(Relation) |  | 100% |  | n/a | 0 | 1 | 0 | 3 | 0 | 1
updateRoleMenuBtnRelation(String, List, long) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
isAdminRole(long, long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
addRoleRelation(Relation) |  | 100% |  | n/a | 0 | 1 | 0 | 3 | 0 | 1
checkPassword(String, String, Long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getDepartmentIds(String, String, String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getUserGroups(User) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getRelationOfStation(Page, String, long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
addEquipmentToStation(Relation) |  | 100% |  | n/a | 0 | 1 | 0 | 3 | 0 | 1
getSecurityMenuList(long, Languages) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getSecurityMenuTreeRootList(long, Languages) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getSecurityMenuTreeListById(long, Languages, String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getHasGrantUserGroupAll(long, String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getHasRoleGrantUserAll(long, String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getHasGrantUserAll(long, String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getButtonInfoWithRoles(Collection, String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getUser(Long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getUser(String, Long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getTel(String, String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
isExportRole(long, long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getAllButtons(Long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getRoleButton(Long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getUserGrantUserGroupAllRole(Long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getUser(User) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getStation(Station) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getEquipmentOfStation(long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getUsers(String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getUserGroups(long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getUserGroupByUserRrn(Long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getProcessRrnWithPermission(long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$filterMenu$0(Map) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getAllRole() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getUserGroupAll() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getUserAll() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
static {...} |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
SecuityServiceImpl() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getSecurityInfo(Long, String) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
checkUserTime(Long, Long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getUserLastLoginTime(long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getUserLastChangePasswordTime(long) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
insertLoginLog(LoginLog) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1