Data D

Total Complexity 133
Dependencies 8
Dependents 21
Total lines 1,432
Lines of code 1,092
Logical lines of code 451
Comment lines 322
Methods 35
Properties 3

Methods 35

Method Rating Maintainability Complexity Lines of code
updateOrCreateReaction()
A
36 12 99
insertUserReaction()
A
41 15 53
getFilterClause()
A
40 14 64
getDateClause()
A
43 13 52
getReactionsForContent()
A
39 6 81
getReactionsSettings()
A
46 7 35
getReactionForUser()
S
46 6 45
getContentsByReaction()
S
42 4 66
getReactionsAndUsersForContent()
S
41 3 61
getCommentsByReaction()
S
46 4 44
deleteAllContentReactions()
S
54 5 22
deleteUserReaction()
S
51 4 32
getMainReactionForContent()
S
47 3 45
getReactionById()
S
51 4 29
createDefaultReactions()
S
45 1 49
getAllContentReactions()
S
52 2 33
deleteGutenbergBlockVotes()
S
57 3 15
getAllVotesForUserByEmail()
S
53 2 28
clearDisabledReactions()
S
54 2 26
getAllReactions()
S
58 2 17
insertReactionIntoDB()
S
58 2 15
dropTables()
S
59 2 14
getTotalReactionsForContentType()
S
61 2 13
createReactionsTable()
S
54 1 26
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
getAllGroups()
S
65 1 10
getReactionsCount()
S
72 1 5
upgradeVotesIdToBigInt()
S
65 1 9
addGroupColumnToReactions()
S
63 1 10