WpdiscuzHelperOptimization A

Total Complexity 75
Dependencies 5
Dependents 1
Total lines 245
Lines of code 204
Logical lines of code 130
Comment lines 18
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
cleanAllCaches()
A
46 13 39
cleanPostCache()
A
49 10 31
getCommentRoot()
A
54 10 21
notifyOnApprove()
S
54 6 19
onProfileUpdate()
S
63 7 9
getTreeByParentId()
S
62 5 11
statusEventHandler()
S
67 4 8
removeVoteData()
S
66 4 7
resetPhrases()
S
68 4 6
isReplyInAuthorTree()
S
63 3 11
getCommentDepth()
S
65 3 9
deleteUserRelatedData()
S
65 3 9
__construct()
S
57 1 15
actionsOnDeletedPost()
S
77 1 4
cleanCommentRelatedRows()
S
74 1 5