HMWP_Controllers_SecurityCheck D

Total Complexity 280
Dependencies 5
Dependents 0
Total lines 1,899
Lines of code 1,316
Logical lines of code 480
Comment lines 313
Methods 52
Properties 7

Methods 52

Method Rating Maintainability Complexity Lines of code
action()
D
20
53 194
getTasks()
B
21
1 336
checkOldPlugins()
A
45 13 38
initSecurity()
A
50 12 27
checkExposedPHP()
A
53 11 20
checkSaltKeys()
A
49 8 31
checkUploadsBrowsable()
A
47 7 34
init()
A
49 7 31
checkPluginsUpdates()
S
52 7 24
checkIncompatiblePlugins()
S
53 7 22
checkCommonPaths()
S
54 7 21
checkLoginPath()
S
57 7 16
checkThemesUpdates()
S
53 6 21
checkConfig()
S
54 6 21
checkAdminPath()
S
54 6 20
checkOldPaths()
S
55 6 17
checkOldLogin()
S
55 6 17
checkXmlrpc()
S
56 6 16
getSourceCode()
S
52 5 25
checkWP()
S
53 5 23
checkConfigChmod()
S
52 5 23
checkReadme()
S
55 5 20
checkUsersById()
S
54 5 20
checkWPDebug()
S
58 5 16
getRiskReport()
S
59 5 15
doSecurityCheck()
S
58 5 15
checkDbPassword()
S
53 4 24
checkSaltKeysAge()
S
58 4 14
checkInstall()
S
58 4 14
checkMysqlPermissions()
S
58 3 16
checkAdminEditor()
S
61 3 13
checkFilePermissions()
S
59 3 12
getRiskErrorCount()
S
69 3 6
checkDBPrefix()
S
67 3 7
checkDbDebug()
S
66 3 8
checkAdminUsers()
S
64 3 9
checkScriptDebug()
S
65 3 9
checkUserRegistration()
S
63 3 10
getRiskTasks()
S
58 1 18
checkBlogDescription()
S
67 2 7
checkPHP()
S
63 2 10
checkAllowUrlInclude()
S
68 2 7
checkRDS()
S
68 2 7
checkWLW()
S
68 2 7
checkVersionDisplayed()
S
70 2 6
checkPHPSafe()
S
67 2 7
checkRegisterGlobals()
S
67 2 7
checkFirewall()
S
70 2 6
checkBlogSiteURL()
S
66 2 8
checkSSL()
S
70 2 6
checkMysql()
S
67 1 8
checkDisplayErrors()
S
69 1 7