WpdiscuzCore D

Total Complexity 655
Dependencies 13
Dependents 5
Total lines 2,396
Lines of code 2,186
Logical lines of code 1,340
Comment lines 50
Methods 61
Properties 18

Methods 61

Method Rating Maintainability Complexity Lines of code
addComment()
D
19
74 157
addInlineComment()
D
27
43 114
saveEditedComment()
D
28
40 106
frontendFiles()
D
26
34 137
getCommentListArgs()
D
30 35 89
pluginNewVersion()
C
35 30 69
loadMoreComments()
C
42 26 41
getSingleComment()
C
37 24 67
addNewRoles()
B
44 23 39
deactivateAddons()
B
43 18 55
backendFiles()
B
33 14 99
_getWPComments()
B
38 16 66
updateAutomatically()
B
42 17 42
validateRecaptcha()
B
47 17 33
hottestThread()
A
40 13 58
changeOldOptions()
A
47 14 32
__construct()
A
35 10 77
feedbackDialog()
A
36 6 136
feedbackShortcode()
A
46 12 35
mostReactedComment()
A
42 11 48
sorting()
A
47 10 33
commentsClauses()
A
54 11 16
showReplies()
A
44 9 43
addToolbarItems()
A
38 6 88
uninstall()
A
43 8 48
getDefaultCommentsArgs()
A
47 9 33
foundCommentsQuery()
A
49 9 26
removeOldFiles()
A
54 9 20
getWPComments()
A
48 8 30
footerContents()
S
58 8 15
bubbleUpdate()
S
51 7 24
getStickyComments()
S
53 7 21
gutenbergButton()
S
55 6 18
addBubble()
S
48 4 34
pluginActivation()
S
58 5 16
mceExternalPlugin()
S
65 6 7
mceButton()
S
66 6 7
shouldUpdate()
S
60 5 13
getChildren()
S
52 4 25
setRecaptchaOptions()
S
59 4 13
commentsTemplateQueryArgs()
S
63 3 11
addPluginOptionsPage()
S
52 2 25
saveLastVisit()
S
64 3 9
preGetComments()
S
68 3 7
addNewBlog()
S
63 2 11
deregisterJobs()
S
74 2 5
mergeOptions()
S
64 2 10
registerJobs()
S
73 2 5
getInstance()
S
72 2 6
deleteBlog()
S
68 2 8
initCurrentPostType()
S
67 2 7
addPluginSettingsLink()
S
62 2 9
addNewPhrases()
S
65 2 9
extraPluginHeaders()
S
77 1 4
addNewOptions()
S
73 1 5
addCommentForm()
S
80 1 3
setIntervals()
S
68 1 7
addContentModal()
S
78 1 4
activateWpDiscuz()
S
78 1 4
wpdiscuzTextDomain()
S
77 1 3
registerRestRoutes()
S
75 1 4