WpdiscuzHelperOptimization B

Total Complexity 81
Dependencies 5
Dependents 1
Total lines 276
Lines of code 230
Logical lines of code 146
Comment lines 18
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
cleanAllCaches()
A
46 13 39
cleanPostCache()
A
49 10 31
getCommentRoot()
A
54 10 21
onProfileUpdate()
S
61 7 11
notifyOnApprove()
S
54 6 19
getTreeByParentId()
S
62 5 11
resetPhrases()
S
68 4 6
removeVoteData()
S
66 4 7
getCommentDepth()
S
65 3 9
statusEventHandler()
S
65 3 9
deleteUserRelatedData()
S
65 3 9
cleanCommentRelatedRows()
S
69 3 7
__construct()
S
53 1 21
pluginDeactivated()
S
69 2 6
optionUpdated()
S
71 2 5
actionsOnUpdatedPost()
S
80 1 3
wpfProfileUpdate()
S
73 1 4
bpAvatarUploaded()
S
74 1 4
actionsOnDeletedPost()
S
73 1 5
commentEdited()
S
79 1 3