Data D

Total Complexity 135
Dependencies 9
Dependents 21
Total lines 1,472
Lines of code 1,089
Logical lines of code 472
Comment lines 324
Methods 35
Properties 3

Methods 35

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 5 79
getContentsByReaction()
A
40 5 76
getReactionsSettings()
A
46 7 35
getReactionForUser()
S
47 6 42
getCommentsByReaction()
S
44 5 53
getReactionsAndUsersForContent()
S
41 3 61
deleteAllContentReactions()
S
53 5 23
deleteUserReaction()
S
51 4 32
getMainReactionForContent()
S
46 3 47
getReactionById()
S
51 4 30
getTotalReactionsForContentType()
S
55 3 22
createDefaultReactions()
S
45 1 49
deleteGutenbergBlockVotes()
S
58 3 15
getAllContentReactions()
S
53 2 29
clearDisabledReactions()
S
53 2 26
getAllVotesForUserByEmail()
S
53 2 24
dropTables()
S
58 2 16
insertReactionIntoDB()
S
58 2 15
getAllReactions()
S
60 2 13
createReactionsTable()
S
53 1 27
createVotesTable()
S
55 1 23
createGroupsTable()
S
55 1 22
disableAllReactions()
S
60 1 15
getVotesTable()
S
69 2 7
getGroupsTable()
S
69 2 7
getReactionsTable()
S
69 2 7
createDefaultGroups()
S
60 1 13
addGroupColumnToReactions()
S
61 1 12
getAllGroups()
S
70 1 6
getReactionsCount()
S
70 1 6
upgradeVotesIdToBigInt()
S
64 1 10