/opt/atlassian/pipelines/agent/build/server/src
Domain
Auth
(Dashboard)
Classes
Coverage Distribution
Complexity
Insufficient Coverage
Class
Coverage
App\Domain\Auth\Service\RegistrationService
0%
App\Domain\Auth\Data\TokenData
14%
App\Domain\Auth\Repository\AuthRepository
88%
Project Risks
Class
CRAP
App\Domain\Auth\Service\RegistrationService
3139
App\Domain\Auth\Repository\AuthRepository
40
Methods
Coverage Distribution
Complexity
Insufficient Coverage
Method
Coverage
toArray
0%
registerComplete
0%
validateAllInput
0%
validateUsername
0%
validateEmail
0%
validatePassword
0%
validateRequiredString
0%
validateOptionalString
0%
validateDateOfBirth
0%
validatePhone
0%
validateState
0%
validateZipCode
0%
investorEmailExists
0%
createInvestor
0%
createAccount
0%
generateAccountNumber
0%
emailExists
85%
usernameExists
85%
revokeRefreshToken
85%
revokeAllUserTokens
85%
cleanupExpiredTokens
85%
updateLastLogin
85%
incrementFailedLoginAttempts
85%
getPasswordHash
87%
isAccountLocked
87%
findUserByEmail
88%
findUserByUsername
88%
findUserById
88%
findSessionByRefreshToken
88%
Project Risks
Method
CRAP
registerComplete
72
validatePassword
42
validateUsername
30
validateDateOfBirth
30
validateEmail
20
validateRequiredString
20
generateAccountNumber
20
validateOptionalString
12
validatePhone
12
validateState
12
validateZipCode
12
investorEmailExists
6
createInvestor
6
createAccount
6
getPasswordHash
3
findUserByEmail
3
findUserByUsername
3
findUserById
3
findSessionByRefreshToken
3
emailExists
2
usernameExists
2
revokeRefreshToken
2
revokeAllUserTokens
2
cleanupExpiredTokens
2
updateLastLogin
2
incrementFailedLoginAttempts
2
isAccountLocked
2