Worpit_Plugins_Base_Cpm B

Total Complexity 84
Dependencies 0
Dependents 0
Total lines 452
Lines of code 274
Logical lines of code 145
Comment lines 87
Methods 41
Properties 11

Methods 41

Method Rating Maintainability Complexity Lines of code
deleteAllPluginDbOptions()
S
59 7 15
updatePluginOptionsFromSubmit()
S
55 6 20
collateAllFormInputsForOptionsSection()
S
57 4 17
collateAllFormInputsForAllOptions()
S
58 4 16
isWorpitPluginAdminPage()
S
66 5 7
display()
S
57 3 16
populatePluginOptionsSection()
S
62 4 10
populateAllPluginOptions()
S
67 4 8
onWpAdminMenu()
S
60 3 12
getAdminNotice()
S
60 2 16
updateOption()
S
63 3 10
getAnswerFromPost()
S
69 3 6
onWpPluginsLoaded()
S
69 3 8
__construct()
S
59 2 13
onWpUninstallPlugin()
S
75 2 5
onWpPluginActionLinks()
S
66 2 7
fixSubmenu()
S
69 2 7
onWpAdminInit()
S
69 2 7
handlePluginFormSubmit()
S
98 1 1
getSubmenuId()
S
79 1 3
onWpDeactivatePlugin()
S
98 1 1
onWpActivatePlugin()
S
98 1 1
deleteOption()
S
79 1 3
getImageUrl()
S
79 1 3
addOption()
S
78 1 3
getOption()
S
79 1 3
getCssUrl()
S
79 1 3
getJsUrl()
S
79 1 3
getSubmenuPageTitle()
S
79 1 3
onWpInit()
S
98 1 1
enqueueBootstrapAdminCss()
S
70 1 6
onWpAdminNotices()
S
98 1 1
createPluginSubMenuItems()
S
91 1 2
handlePluginUpgrade()
S
98 1 1
initPluginOptions()
S
82 1 3
readyAllPluginOptions()
S
78 1 4
redirect()
S
67 1 9
onDisplayMainMenu()
S
70 1 6
enqueueAdminBootstrapJs()
S
69 1 6
getFullParentMenuId()
S
79 1 3
enqueuePluginAdminCss()
S
71 1 5