HMWP_Controllers_SecurityCheck D

Total Complexity 254
Dependencies 5
Dependents 0
Total lines 1,821
Lines of code 1,218
Logical lines of code 434
Comment lines 305
Methods 52
Properties 7

Methods 52

Method Rating Maintainability Complexity Lines of code
action()
C
31 28 99
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
checkConfig()
S
54 6 21
checkThemesUpdates()
S
53 6 21
checkAdminPath()
S
55 6 20
checkOldPaths()
S
54 6 19
checkOldLogin()
S
54 6 19
checkXmlrpc()
S
56 6 16
checkConfigChmod()
S
52 5 23
checkWP()
S
53 5 23
getSourceCode()
S
54 5 21
checkReadme()
S
55 5 20
checkWPDebug()
S
58 5 16
doSecurityCheck()
S
58 5 15
getRiskReport()
S
59 5 15
checkDbPassword()
S
53 4 24
checkUsersById()
S
56 4 17
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
checkDbDebug()
S
66 3 8
checkScriptDebug()
S
65 3 9
getRiskErrorCount()
S
69 3 6
checkDBPrefix()
S
67 3 7
checkAdminUsers()
S
64 3 9
checkUserRegistration()
S
63 3 10
getRiskTasks()
S
58 1 18
checkBlogDescription()
S
67 2 7
checkPHP()
S
63 2 10
checkVersionDisplayed()
S
70 2 6
checkRDS()
S
68 2 7
checkWLW()
S
68 2 7
checkAllowUrlInclude()
S
68 2 7
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