WpdiscuzOptions D

Total Complexity 862
Dependencies 6
Dependents 3
Total lines 4,087
Lines of code 3,900
Logical lines of code 1,414
Comment lines 108
Methods 37
Properties 27

Methods 37

Method Rating Maintainability Complexity Lines of code
saveOptions()
D
0
265 264
initOptions()
D
0
221 228
replaceOldOptions()
D
0
174 439
settingsArray()
D
3
3 1,455
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 253
toArray()
A
23
1 254
saveAndResetOptionsAndPhrases()
A
44 13 40
getOptionsForJs()
A
32 8 107
isShowLoginButtons()
A
73 15 3
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