Data D

Total Complexity 130
Dependencies 8
Dependents 18
Total lines 1,355
Lines of code 1,029
Logical lines of code 440
Comment lines 274
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
updateOrCreateReaction()
B
35 13 99
insertUserReaction()
A
41 15 53
getDateClause()
A
43 13 48
getFilterClause()
A
43 13 47
getReactionsForContent()
A
39 6 85
getContentsByReaction()
A
40 5 76
getReactionsSettings()
A
46 7 35
getReactionForUser()
S
46 6 43
getCommentsByReaction()
S
44 5 53
getReactionsAndUsersForContent()
S
41 3 61
deleteAllContentReactions()
S
52 5 24
deleteUserReaction()
S
50 4 33
getMainReactionForContent()
S
46 3 47
getReactionById()
S
50 4 30
createDefaultReactions()
S
44 2 52
getTotalReactionsForContentType()
S
55 3 22
dropTables()
S
56 3 18
createReactionsTable()
S
51 2 30
deleteGutenbergBlockVotes()
S
57 3 15
getAllContentReactions()
S
53 2 29
clearDisabledReactions()
S
53 2 26
createVotesTable()
S
53 2 26
getAllVotesForUserByEmail()
S
53 2 24
insertReactionIntoDB()
S
58 2 15
getAllReactions()
S
60 2 13
disableAllReactions()
S
60 1 15
getOldestVote()
S
76 1 4
getReactionsCount()
S
69 1 6