Data B

Total Complexity 94
Dependencies 7
Dependents 14
Total lines 1,097
Lines of code 817
Logical lines of code 368
Comment lines 251
Methods 26
Properties 0

Methods 26

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 41
createDefaultReactions()
S
44 2 52
getCommentsByReaction()
S
48 3 37
deleteAllContentReactions()
S
54 4 21
getMainReactionForContent()
S
48 2 39
getReactionById()
S
54 3 22
createReactionsTable()
S
51 2 30
deleteGutenbergBlockVotes()
S
58 3 15
clearDisabledReactions()
S
53 2 26
createVotesTable()
S
53 2 26
dropTables()
S
57 2 17
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
getTotalReactionsForContentType()
S
69 1 6