GdbcDbAccessController A

Total Complexity 72
Dependencies 7
Dependents 5
Total lines 366
Lines of code 230
Logical lines of code 162
Comment lines 3
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
registerAttempt()
A
53 9 20
createAttemptsTable()
S
54 5 22
getLatestLoginAttempts()
S
54 5 18
getAttemptsPerModuleOlderThan()
S
56 4 17
getAttemptsPerModule()
S
58 4 14
getAttemptsByClientIp()
S
59 4 13
clearAttemptsNotesOlderThan()
S
60 4 12
deleteAttemptsOlderThan()
S
60 4 12
getNumberOfAttemptsByModuleId()
S
61 4 11
sanitizeEntityNotes()
S
64 3 11
getLatestAttempts()
S
61 3 11
getAttemptsPerModuleAndSection()
S
64 3 9
getAttemptsPerModuleAndDay()
S
62 3 10
getTotalAttemptsPerModule()
S
64 3 9
getCombinedAttemptsPerDay()
S
62 3 10
executePreparedQuery()
S
74 2 4
getAttemptById()
S
68 2 6
attemptsTableExistsAndIsEmpty()
S
67 2 7
getDaysAgoTimeStamp()
S
77 1 3
attemptsTableExists()
S
74 1 4
getAttemptsTableName()
S
76 1 4
getLoginAttempts()
S
89 1 2
__construct()
S
98 1 1