Data B

Total Complexity 99
Dependencies 7
Dependents 16
Total lines 1,153
Lines of code 855
Logical lines of code 385
Comment lines 267
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
getFilterClause()
A
45 12 39
getDateClause()
A
48 11 36
getReactionsForContent()
A
40 5 75
insertUserReaction()
S
48 7 30
updateOrCreateReaction()
S
44 5 49
getReactionsSettings()
S
48 6 31
getReactionForUser()
S
50 5 32
getReactionsAndUsersForContent()
S
41 3 61
getContentsByReaction()
S
44 3 57
createDummyVotes()
S
45 4 42
deleteAllContentReactions()
S
52 5 25
createDefaultReactions()
S
44 2 52
getCommentsByReaction()
S
48 3 37
getMainReactionForContent()
S
48 2 39
getReactionById()
S
54 3 22
dropTables()
S
56 3 18
createReactionsTable()
S
51 2 30
deleteGutenbergBlockVotes()
S
58 3 15
clearDisabledReactions()
S
53 2 26
createVotesTable()
S
53 2 26
getAllVotesForUserByEmail()
S
52 2 26
deleteUserReaction()
S
58 2 16
insertReactionIntoDB()
S
58 2 15
getAllContentReactions()
S
56 1 23
disableAllReactions()
S
60 1 15
getAllReactions()
S
69 1 6
getReactionsCount()
S
69 1 6
getTotalReactionsForContentType()
S
69 1 6