Data C

Total Complexity 107
Dependencies 9
Dependents 16
Total lines 1,166
Lines of code 870
Logical lines of code 393
Comment lines 294
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
insertUserReaction()
A
46 13 35
getDateClause()
A
46 12 39
getFilterClause()
A
45 12 39
getReactionsForContent()
A
40 5 75
getReactionsSettings()
A
47 7 34
updateOrCreateReaction()
S
43 5 54
getReactionForUser()
S
50 5 32
getReactionsAndUsersForContent()
S
41 3 61
getContentsByReaction()
S
43 3 58
createDummyVotes()
S
45 4 42
deleteAllContentReactions()
S
52 5 24
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
57 3 15
clearDisabledReactions()
S
53 2 26
createVotesTable()
S
53 2 26
getAllVotesForUserByEmail()
S
53 2 24
deleteUserReaction()
S
58 2 16
insertReactionIntoDB()
S
58 2 15
getAllContentReactions()
S
56 1 22
disableAllReactions()
S
60 1 15
getAllReactions()
S
65 1 8
getReactionsCount()
S
69 1 6
getTotalReactionsForContentType()
S
69 1 6