UserServiceImpl

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total740 of 2,64772%231 of 55458%194331186635954
backUpdate(UserAdminUpdateDto)80%69%34672510901
resetPwd(PasswordResetDto)35%31%1617203201
queryCollaborationUsers(Integer)0%0%77171711
update(UserUpdateDto)72%53%1216144901
findUserFieldConflict(Integer, String, String)12%12%896901
sendVerifyCode(String, String)0%0%77111111
recordUserUpdateAudits(User, UserAdminUpdateDto, boolean, boolean, boolean, boolean, Boolean)72%65%51131801
duplicateUserMessage(DuplicateKeyException)0%0%557711
updatePwd(PasswordUpdateDto)76%53%121482801
batchDelete(List)84%69%81484001
auth()0%0%225511
lambda$releaseReaderReservations$2(Integer, Integer)24%n/a013601
createUser(UserRegisterDto, String, Integer, boolean)82%75%3773101
unfreezeUser(Integer)82%43%7932201
getById(Integer)37%33%344701
lambda$queryCollaborationUsers$1(User)0%n/a115511
checkStatusChangePermission(Integer, String, boolean)73%62%6951601
queryByDays(Integer)0%n/a113311
cancelAccount()88%70%61142701
insert(UserRegisterDto)81%77%41041601
freezeUser(Integer)89%50%6812101
resolveAccountStatusByLoginFlag(Boolean)28%25%233501
toView(User)0%n/a113311
maskEmail(String)81%50%4531101
validateOptionalProfileFields(String, String)55%50%352501
lambda$sendVerifyCode$0(VerificationCodePurpose)0%0%221111
sendVerifyCode(String)0%n/a111111
validateRoleTransition(User, Integer, boolean)91%71%4821101
resolveCoordinatorAdminUpdate(UserAdminUpdateDto, User, boolean, Integer)93%85%2811201
register(UserRegisterDto)92%75%2511101
query(UserPageQuery)87%50%121601
createReader(UserRegisterDto, String, boolean)85%50%341301
roleName(Integer)70%50%120201
validateNewUser(UserRegisterDto)95%87%1511001
validateRegistrationInput(UserRegisterDto)87%75%131501
accountStatusName(Integer)87%75%131501
currentAuthVersion(User)77%50%120101
trimToNull(String)71%50%120101
releaseReaderReservations(Integer)96%75%131801
clearLoginAttemptsAfterCommit(String[])95%50%1211001
isAdminOrSuper(Integer)92%75%130101
isKnownRole(Integer)85%50%120101
lambda$clearLoginAttemptsAfterCommit$4(String)85%50%120101
login(UserLoginDto)100%84%41402601
minimizeUserList(List)100%87%150701
lambda$clearLoginAttemptsAfterCommit$5(List)100%n/a010101
userIdentity(User)100%n/a010301
static {...}100%n/a010201
nextAuthVersion(User)100%n/a010101
lambda$releaseReaderReservations$3(List, Integer)100%n/a010101
isAdminRole(Integer)100%n/a010101
isSuperAdminRole(Integer)100%n/a010101
isReaderRole(Integer)100%n/a010101
UserServiceImpl()100%n/a010101