HMWP_Controllers_SecurityCheck D

Total Complexity 226
Dependencies 5
Dependents 0
Total lines 1,711
Lines of code 1,166
Logical lines of code 391
Comment lines 279
Methods 50
Properties 7

Methods 50

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