Data B

Total Complexity 93
Dependencies 7
Dependents 13
Total lines 1,062
Lines of code 792
Logical lines of code 364
Comment lines 242
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
getFilterClause()
A
45 12 39
getDateClause()
A
48 11 36
insertUserReaction()
A
44 8 42
getReactionsForContent()
S
43 5 56
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
deleteUserReaction()
S
58 2 16
dropTables()
S
60 2 14
getAllContentReactions()
S
56 1 23
disableAllReactions()
S
60 1 15
getAllReactions()
S
69 1 6
getTotalReactionsForContentType()
S
69 1 6