WpdiscuzOptions D

Total Complexity 881
Dependencies 5
Dependents 1
Total lines 4,571
Lines of code 4,387
Logical lines of code 1,544
Comment lines 114
Methods 47
Properties 26

Methods 47

Method Rating Maintainability Complexity Lines of code
saveOptions()
D
0
248 246
initOptions()
D
0
204 211
replaceOldOptions()
D
0
174 439
settingsArray()
D
4
3 1,336
check()
D
13
59 347
tools()
C
36 25 74
regenerateMessage()
B
36 22 82
resetOptions()
B
41 22 49
savePhrases()
B
24
6 215
getDefaultOptions()
A
24
3 236
toArray()
A
24
1 237
saveAndResetOptionsAndPhrases()
A
44 13 40
getOptionsForJs()
A
32 8 106
isShowLoginButtons()
A
73 15 3
initPhrases()
A
24
1 204
initAddons()
A
27
1 202
addonNote()
A
43 10 55
showEditorToolbar()
A
74 11 3
editorOptions()
S
53 5 23
getSizeInBytes()
S
55 5 20
initTips()
S
39 1 76
isShareEnabled()
S
77 4 3
__construct()
S
49 2 28
initGoodbyeCaptchaField()
S
66 3 9
getPhrase()
S
63 3 10
printDocLink()
S
71 3 5
initPhrasesOnLoad()
S
68 3 7
addonActivationMessages()
S
63 2 12
tipDisplayed()
S
61 2 12
refreshAddonPage()
S
65 2 11
phrasesOptionsForm()
S
67 2 7
getDefaultFileTypes()
S
59 1 15
adminNotices()
S
70 2 7
mainOptionsForm()
S
69 2 6
tipHash()
S
74 1 5
addonHash()
S
74 1 5
initFormRelations()
S
75 1 4
getDefaultImageSizes()
S
79 1 3
dashboard()
S
80 1 3
dismissAddonNoteOnPage()
S
76 1 4
addOptions()
S
80 1 3
updateOptions()
S
80 1 3
dismissTipNote()
S
73 1 5
dismissAddonNote()
S
73 1 5
getLastCheckedDiff()
S
73 1 5
getLastCheckedDate()
S
80 1 3
addons()
S
80 1 3