Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
jsonSerialize0%
logImpersonationEnd0%
toArray0%
registerComplete0%
validateAllInput0%
validateUsername0%
validateEmail0%
validatePassword0%
validateRequiredString0%
validateOptionalString0%
validateDateOfBirth0%
validatePhone0%
validateState0%
validateZipCode0%
investorEmailExists0%
createInvestor0%
createAccount0%
generateAccountNumber0%
__construct0%
jsonSerialize0%
__construct0%
getOffset0%
findById0%
findAll0%
resolve0%
deleteByIds0%
getCountsByLevel0%
getUnresolvedCount0%
debug0%
info0%
notice0%
warning0%
error0%
critical0%
alert0%
emergency0%
getById0%
list0%
resolve0%
delete0%
getLogLevels0%
__construct0%
fromRow0%
toArray0%
__construct0%
fromRow0%
toArray0%
__construct0%
checkEligibility0%
createActiveLoan0%
generatePaymentSchedule0%
findById0%
findByInvestorId0%
findActive0%
getConfig0%
getPaymentSchedule0%
getInvestorAccountId0%
__construct0%
checkEligibility0%
requestLoan0%
calculateLoanTerms0%
getLoan0%
getInvestorLoans0%
getActiveLoans0%
getConfig0%
getPaymentSchedule0%
getValidTerms0%
getValue0%
jsonSerialize0%
findAll0%
update0%
__construct0%
getAll0%
getByKey0%
update0%
getLogLevelThreshold0%
updateLogLevelThreshold0%
validateSetting0%
create0%
getAccountStatus0%
getAccountAvailableBalance0%
__construct0%
createTransaction0%
getValidTypes0%
formatStackTrace55%
generateUniqueAccountNumber55%
generateUniqueAccountNumber69%
sanitize71%
updateInvestor75%
getAccountSummary80%
setContext81%
getTotalAccounts83%
getTotalBalance83%
freezeAccount85%
unfreezeAccount85%
getStats85%
emailExists85%
usernameExists85%
revokeRefreshToken85%
revokeAllUserTokens85%
cleanupExpiredTokens85%
updateLastLogin85%
incrementFailedLoginAttempts85%
emailExists85%
getAccountBalance85%
getAllAccountsWithInvestors85%
emailExistsInUsers85%
emailExistsInInvestors85%
generateTransactionDescription85%
getLogLevelThreshold85%
accountExists85%
getInvestorDetail87%
getPasswordHash87%
isAccountLocked87%
findInvestorById87%
findInvestorByEmail87%
findInvestorByUserId87%
updateInvestorStatus87%
logAccountStatusChange88%
updateInterestRate88%
updateLoanToValueRatio88%
getUserActivity88%
findUserByEmail88%
findUserByUsername88%
findUserById88%
findSessionByRefreshToken88%
getAccountById88%
findByKey88%
findById88%

Project Risks

Method CRAP
findAll702
__construct210
validateSetting90
createTransaction90
registerComplete72
findById56
requestLoan56
validatePassword42
__construct42
validateUsername30
validateDateOfBirth30
fromRow30
validateEmail20
validateRequiredString20
generateAccountNumber20
update20
validateOptionalString12
validatePhone12
validateState12
validateZipCode12
resolve12
deleteByIds12
getCountsByLevel12
checkEligibility12
findById12
findByInvestorId12
findActive12
getConfig12
getInvestorAccountId12
findAll12
update12
create12
getAccountStatus12
getAccountAvailableBalance12
sanitize6
setContext6
investorEmailExists6
createInvestor6
createAccount6
getUnresolvedCount6
createActiveLoan6
generatePaymentSchedule6
getPaymentSchedule6
getLoan6
updateLogLevelThreshold6
generateTransactionDescription5
updateInvestorStatus5
logAccountStatusChange5
generateUniqueAccountNumber4
updateInvestor4
updateInterestRate4
updateLoanToValueRatio4
generateUniqueAccountNumber3
getTotalAccounts3
getTotalBalance3
freezeAccount3
unfreezeAccount3
getInvestorDetail3
getPasswordHash3
findInvestorById3
findInvestorByEmail3
findInvestorByUserId3
findUserByEmail3
findUserByUsername3
findUserById3
findSessionByRefreshToken3
getAccountById3
findByKey3
findById3
formatStackTrace2
getAccountSummary2
getStats2
getUserActivity2
emailExists2
usernameExists2
revokeRefreshToken2
revokeAllUserTokens2
cleanupExpiredTokens2
updateLastLogin2
incrementFailedLoginAttempts2
isAccountLocked2
emailExists2
getAccountBalance2
getAllAccountsWithInvestors2
emailExistsInUsers2
emailExistsInInvestors2
getLogLevelThreshold2
accountExists2