WpdiscuzOptions D

Total Complexity 869
Dependencies 6
Dependents 3
Total lines 4,163
Lines of code 3,935
Logical lines of code 1,422
Comment lines 111
Methods 37
Properties 27

Methods 37

Method Rating Maintainability Complexity Lines of code
saveOptions()
D
0
268 267
initOptions()
D
0
224 231
replaceOldOptions()
D
0
174 439
settingsArray()
D
3
3 1,476
regenerateMessage()
B
36 22 82
resetOptions()
B
39 20 58
tools()
B
42 19 47
addEmailTemplates()
B
50 19 22
savePhrases()
B
24
6 216
getDefaultOptions()
B
23
3 256
toArray()
A
23
1 257
isShowLoginButtons()
A
72 16 3
saveAndResetOptionsAndPhrases()
A
44 13 40
getOptionsForJs()
A
32 8 109
initPhrases()
A
24
1 204
getOption()
A
54 10 21
showEditorToolbar()
A
74 11 3
exportOptionsOrPhrases()
A
49 8 31
editorOptions()
S
53 5 23
getSizeInBytes()
S
55 5 20
isShareEnabled()
S
77 4 3
__construct()
S
49 2 27
initGoodbyeCaptchaField()
S
66 3 9
printDocLink()
S
71 3 5
initPhrasesOnLoad()
S
66 3 8
getPhrase()
S
63 3 10
addonActivationMessages()
S
63 2 12
adminNotices()
S
72 2 6
getDefaultFileTypes()
S
59 1 15
phrasesOptionsForm()
S
67 2 7
mainOptionsForm()
S
69 2 6
getDefaultImageSizes()
S
79 1 3
dashboard()
S
80 1 3
updateOptions()
S
80 1 3
getOptions()
S
70 1 6
addOptions()
S
80 1 3
initFormRelations()
S
75 1 4