Code Analysis: Hide My WP Ghost Lite 4.1.05

Function Rating Maintainability Complexity Lines of code
HMW_Controllers_Settings::action()
D
12
79 285
HMW_Models_Rewrite::buildRedirect()
D
24
45 195
HMW_Models_Files::showFile()
D
24
46 145
HMW_Models_Rewrite::flushRewrites()
D
22
41 188
HMW_Models_Rewrite::hideUrls()
D
28
41 133
HMW_Models_Compatibility::getAlerts()
D
34 38 74
HMW_Models_Compatibility::checkCompatibility()
C
30 28 135
HMW_Controllers_Rewrite::hookPreload()
C
35 29 77
HMW_Models_Rewrite::sanitize_login_redirect()
C
39 29 54
HMW_Classes_Tools::emptyCache()
C
39 25 59
HMW_Models_Rewrite::getBuffer()
C
43 26 41
HMW_Classes_DisplayController::loadMedia()
B
40 24 51
HMW_Classes_Tools::getOptions()
B
26
15 173
HMW_Models_Compatibility::findCDNServers()
B
41 23 51
HMW_Models_Settings::savePermalinks()
B
39 22 58
HMW_Models_Rules::insertWithMarkers()
B
36 20 80
HMW_Models_Rewrite::site_url()
B
43 21 44
HMW_Classes_Action::getActions()
B
43 21 42
HMW_Controllers_SecurityCheck::getTasks()
B
21
1 338
HMW_Models_Compatibility::checkCompatibilityOnLoad()
B
42 19 45
HMW_Controllers_Brute::action()
B
39 17 64
HMW_Controllers_Settings::init()
B
38 17 63
HMW_Models_Rewrite::find_replace()
B
43 17 45
HMW_Controllers_SecurityCheck::initSecurity()
B
45 17 35
HMW_Models_Settings::invalidName()
A
40 15 57
HMW_Controllers_Notice::showMessage()
A
43 16 42
HMW_Classes_Tools::initFilesystem()
A
46 16 33
HMW_Models_Rewrite::loopCheck()
A
46 14 39
HMW_Models_Rewrite::replaceTextMapping()
A
45 14 38
HMW_Debug::dump()
A
45 14 36
HMW_Models_Rewrite::deleteIISRules()
A
45 13 43
HMW_Classes_Tools::checkWpUpdates()
A
49 14 27
HMW_Models_Rewrite::find_replace_url()
A
50 14 24
HMW_Models_Rewrite::setRewriteRules()
A
46 13 37
HMW_Controllers_SecurityCheck::checkOldPlugins()
A
46 12 36
HMW_Models_Rewrite::network_admin_url()
A
48 12 33
HMW_Controllers_Brute::hmw_check_preauth()
A
48 12 32
HMW_Models_Rewrite::admin_url()
A
49 12 30
HMW_Classes_Tools::checkApi()
A
44 11 43
HMW_Controllers_Plugins::action()
A
41 10 57
HMW_Controllers_Brute::hmw_update_trusted_headers()
A
48 11 31
HMW_Models_Rewrite::getIISRules()
A
47 10 32
HMW_Models_Rewrite::get404Page()
A
49 10 30
HMW_Models_Rewrite::_rel2abs()
A
49 10 30
HMW_Classes_Tools::getValue()
A
51 10 24
HMW_Models_Brute::brute_call()
A
46 9 36
HMW_Models_Compatibility::__construct()
A
51 9 25
HMW_Models_Settings::saveValues()
A
53 9 24
HMW_Models_Brute::brute_get_ip()
A
52 9 24
HMW_Controllers_Rewrite::initHooks()
A
45 8 39
HMW_Models_Rewrite::login_init()
A
43 7 48
HMW_Classes_Tools::isLitespeed()
A
56 9 17
HMW_Models_Files::buildRedirect()
A
57 9 14
HMW_Models_Rules::replaceToFile()
A
52 8 25
HMW_Classes_ObjController::getClass()
A
51 8 25
HMW_Models_Brute::brute_math_authenticate()
A
52 8 23
HMW_Models_Brute::check_whitelisted_ip()
A
53 8 22
HMW_Models_Brute::check_banned_ip()
A
53 8 22
HMW_Classes_Tools::getMaxMemory()
A
53 8 21
HMW_Classes_Tools::isContentHeader()
A
53 8 21
HMW_Controllers_SecurityCheck::action()
A
48 7 35
HMW_Controllers_SecurityCheck::checkUploadsBrowsable()
A
47 7 35
HMW_Models_Compatibility::checkSimpleSSLRewrites()
A
53 8 20
HMW_Classes_Tools::hmw_remote_get()
A
55 8 18
HMW_Classes_Error::hookNotices()
A
55 8 18
HMW_Controllers_Settings::getAdminTabs()
S
49 7 28
HMW_Models_Rewrite::prepareFindReplace()
S
51 7 25
HMW_Controllers_SecurityCheck::checkPluginsUpdates()
S
52 7 24
HMW_Controllers_SecurityCheck::checkIncompatiblePlugins()
S
52 7 24
HMW_Models_Brute::brute_check_loginability()
S
54 7 21
HMW_Models_Files::getOriginalUrl()
S
53 7 21
HMW_Classes_Tools::__construct()
S
53 7 20
HMW_Models_Rules::isConfigWritable()
S
57 7 18
HMW_Controllers_Rewrite::hookInit()
S
57 7 17
HMW_Models_Compatibility::registerMUPlugin()
S
57 7 16
HMW_Models_Menu::addMenu()
S
58 7 15
HMW_Models_Rewrite::login_head()
S
57 7 14
HMW_Controllers_Menu::hookMenu()
S
40 3 74
HMW_Models_Rewrite::replaceLinks()
S
59 7 13
HMW_Models_Rules::writeToFile()
S
60 7 12
HMW_Controllers_SecurityCheck::checkSaltKeys()
S
53 6 22
HMW_Controllers_SecurityCheck::checkThemesUpdates()
S
53 6 21
HMW_Controllers_SecurityCheck::checkConfig()
S
54 6 21
HMW_Models_Rewrite::replace_robots()
S
53 6 21
HMW_Models_Compatibility::fix_woogc_shutdown()
S
53 6 21
HMW_Models_Cookies::setCookieContants()
S
55 6 21
HMW_Models_Rewrite::getNotFound()
S
55 6 20
HMW_Models_Brute::get_blocked_ips()
S
56 6 16
HMW_Models_Rewrite::home_url()
S
69 7 5
HMW_Classes_Tools::doChangesAdmin()
S
63 7 10
HMW_Controllers_Notice::required_fields()
S
64 7 9
HMW_Models_Rewrite::login_url()
S
59 6 14
HMW_Models_Menu::addSubmenu()
S
59 6 13
HMW_Models_Menu::addOption()
S
59 6 13
HMW_Models_Settings::getPlugins()
S
37 1 88
HMW_Controllers_SecurityCheck::checkWP()
S
53 5 23
HMW_Controllers_Notice::hmw_admin_notices()
S
52 5 23
HMW_Controllers_Settings::showSaveRequires()
S
55 5 21
HMW_Models_Brute::brute_get_local_host()
S
56 5 20
HMW_Controllers_SecurityCheck::checkConfigChmod()
S
54 5 19
HMW_Models_Brute::ip_is_private()
S
55 5 19
HMW_Controllers_SecurityCheck::getSourceCode()
S
56 5 18
HMW_Models_Cookies::getCookieDomain()
S
56 5 18
HMW_Controllers_SecurityCheck::doSecurityCheck()
S
58 5 15
HMW_Controllers_SecurityCheck::getRiskReport()
S
59 5 15
HMW_Classes_Tools::isIIS()
S
65 6 7
HMW_Classes_FrontController::getView()
S
59 5 15
HMW_Classes_Tools::isMultisites()
S
68 6 6
HMW_Classes_Tools::isNginx()
S
62 6 10
HMW_Classes_Error::__construct()
S
59 5 14
HMW_Classes_Tools::saveOptions()
S
59 5 14
HMW_Controllers_SecurityCheck::checkLoginPath()
S
59 5 14
HMW_Controllers_SecurityCheck::checkCommonPaths()
S
59 5 14
HMW_Models_Rewrite::logout_url()
S
59 5 13
HMW_Classes_Tools::hmw_activate()
S
59 5 13
HMW_Classes_Tools::setCurrentUserRole()
S
60 5 13
HMW_Models_Compatibility::ppressLoginPage()
S
59 5 13
HMW_Models_Rewrite::author_url()
S
61 5 12
HMW_Models_Rules::__construct()
S
61 5 12
HMW_Controllers_Menu::hookMultisiteMenu()
S
41 1 72
HMW_Models_Files::isFile()
S
61 5 12
HMW_Models_Rewrite::obLoaded()
S
63 5 11
HMW_Models_Rewrite::sanitize_redirect()
S
62 5 11
HMW_Debug::checkDebug()
S
62 5 11
HMW_Models_Files::checkBrokenFile()
S
63 5 11
HMW_Controllers_SecurityCheck::checkDbPassword()
S
53 4 24
HMW_Debug::showDebug()
S
42 2 54
HMW_Models_Files::postRequest()
S
53 4 22
HMW_Controllers_Brute::getBlockedIps()
S
48 3 36
HMW_Models_Files::getRequest()
S
54 4 21
HMW_Classes_Tools::hmw_wpcall()
S
54 4 20
HMW_Controllers_Notice::action()
S
55 4 19
HMW_Controllers_SecurityCheck::init()
S
55 4 19
HMW_Classes_Tools::sendEmail()
S
48 3 32
HMW_Controllers_SecurityCheck::checkUsersById()
S
56 4 17
HMW_Models_Cookies::setAuthCookie()
S
57 4 17
HMW_Classes_Tools::isPHPPermalink()
S
66 5 8
HMW_Classes_Tools::isThemeActive()
S
64 5 9
HMW_Classes_Tools::getRootPath()
S
64 5 9
HMW_Classes_Tools::getCustomLogoutURL()
S
62 5 10
HMW_Classes_Tools::getCustomLoginURL()
S
62 5 10
HMW_Classes_Tools::getIsset()
S
68 5 6
HMW_Models_Compatibility::alreadyCached()
S
70 5 6
HMW_Models_Cookies::setPostCookie()
S
62 5 10
HMW_Classes_ObjController::getClassPath()
S
58 4 14
HMW_Classes_Tools::getRelativePath()
S
59 4 14
HMW_Controllers_SecurityCheck::checkSaltKeysAge()
S
58 4 14
HMW_Controllers_SecurityCheck::checkReadme()
S
59 4 14
HMW_Controllers_SecurityCheck::checkInstall()
S
58 4 14
HMW_Controllers_SecurityCheck::checkOldPaths()
S
58 4 14
HMW_Controllers_SecurityCheck::checkOldLogin()
S
59 4 14
HMW_Controllers_Menu::hookInit()
S
59 4 14
HMW_Classes_ObjController::newInstance()
S
59 4 14
HMW_Models_Brute::brute_get_headers()
S
52 3 28
HMW_Controllers_SecurityCheck::checkAdminPath()
S
61 4 12
HMW_Models_Rewrite::sendEmail()
S
63 4 11
HMW_Models_Cookies::setLoginCookie()
S
61 4 11
HMW_Models_Settings::getTabs()
S
45 1 50
HMW_Controllers_SecurityCheck::checkMysqlPermissions()
S
57 3 17
HMW_Classes_Tools::checkUpgrade()
S
56 3 17
HMW_Controllers_Widget::action()
S
58 3 16
HMW_Controllers_Rewrite::__construct()
S
65 4 10
HMW_Models_Cookies::setTestCookie()
S
62 4 10
HMW_Models_Cookies::checkLoggedIP()
S
63 4 10
HMW_Models_Cookies::setCookiesCurrentPath()
S
64 4 10
HMW_Classes_ObjController::checkClassPath()
S
64 4 9
HMW_Classes_Tools::isFlywheel()
S
68 4 6
HMW_Models_Menu::addSettingsClass()
S
66 4 8
HMW_Classes_Tools::checkRewriteUpdate()
S
65 4 9
HMW_Models_Rules::isConfigAdminCookie()
S
63 4 10
HMW_Classes_Tools::isApache()
S
64 4 10
HMW_Classes_Tools::isInmotion()
S
68 4 6
HMW_Controllers_SecurityCheck::checkAdminEditor()
S
61 3 13
HMW_Models_Rewrite::hideHeaders()
S
60 3 13
HMW_Classes_Tools::movePluginFirst()
S
61 3 12
HMW_Controllers_Brute::bruteBlockCheck()
S
61 3 12
HMW_Models_Rewrite::hidePluginNames()
S
61 3 11
HMW_Models_Rewrite::hideThemeNames()
S
61 3 11
HMW_Classes_Tools::getSettingsUrl()
S
64 3 11
HMW_Models_Files::__construct()
S
49 1 37
HMW_Models_Brute::brute_math_form()
S
57 2 18
HMW_Models_Settings::weakName()
S
58 2 17
HMW_Models_Brute::set_transient()
S
65 3 9
HMW_Classes_Tools::isAjax()
S
71 3 6
HMW_Controllers_SecurityCheck::checkDbDebug()
S
66 3 8
HMW_Models_Brute::get_transient()
S
65 3 9
HMW_Models_Brute::delete_transient()
S
65 3 9
HMW_Classes_Tools::setHeader()
S
65 3 10
HMW_Controllers_SecurityCheck::checkVersionDisplayed()
S
64 3 10
HMW_Controllers_SecurityCheck::checkWPDebug()
S
65 3 9
HMW_Classes_HookController::setAdminHooks()
S
67 3 7
HMW_Controllers_SecurityCheck::checkScriptDebug()
S
65 3 9
HMW_Models_Files::strposa()
S
67 3 8
HMW_Classes_Tools::isPluginActive()
S
64 3 9
HMW_Models_Compatibility::checkAppThemesConfirmEmail()
S
70 3 7
HMW_Classes_Tools::getConfigFile()
S
65 3 9
HMW_Controllers_SecurityCheck::checkDBPrefix()
S
68 3 7
HMW_Classes_HookController::setFrontHooks()
S
67 3 7
HMW_Models_Woocommerce::remove_password_strength_meter()
S
67 3 8
HMW_Classes_Tools::getOption()
S
65 3 9
HMW_Controllers_SecurityCheck::checkUserRegistration()
S
63 3 10
HMW_Debug::getBuffer()
S
67 3 9
HMW_Models_Rewrite::searchInString()
S
66 3 8
HMW_Controllers_Brute::clearBlockedIPs()
S
67 3 8
HMW_Models_Rewrite::_commentRemove()
S
71 3 5
HMW_Models_Cookies::setCleanCookie()
S
63 3 10
HMW_Models_Compatibility::setTextDirection()
S
64 3 10
HMW_Models_Cookies::testCookies()
S
65 3 9
HMW_Classes_Tools::isModeRewrite()
S
65 3 9
HMW_Classes_Tools::isWpengine()
S
69 3 6
HMW_Models_Files::getCurrentURL()
S
65 3 9
HMW_Classes_HookController::setHooks()
S
69 3 7
HMW_Models_Compatibility::rocket_reject_url()
S
67 3 7
HMW_Classes_ObjController::includeClass()
S
65 3 9
HMW_Classes_Tools::isGodaddy()
S
69 3 6
HMW_Classes_Tools::hookExtraLinks()
S
61 2 13
HMW_Classes_FrontController::__construct()
S
61 2 13
HMW_Debug::showLoadingTime()
S
53 1 21
HMW_Controllers_SecurityCheck::getRiskTasks()
S
59 1 18
HMW_Classes_Action::hookInit()
S
75 2 5
HMW_Controllers_SecurityCheck::checkSSL()
S
70 2 6
HMW_Controllers_Brute::hookFrontinit()
S
72 2 6
HMW_Controllers_Notice::anti_notice_spam()
S
72 2 6
HMW_Models_Brute::get_main_blog_id()
S
72 2 6
HMW_Models_Menu::fixEnqueueErrors()
S
69 2 7
HMW_Models_Cookies::__construct()
S
64 2 9
HMW_Classes_Error::showError()
S
69 2 7
HMW_Models_Rewrite::startBuffer()
S
70 2 6
HMW_Models_Brute::brute_get_protocol()
S
75 2 4
HMW_Controllers_Rewrite::disable_emojicons_tinymce()
S
70 2 7
HMW_Models_Rewrite::flushChanges()
S
66 2 8
HMW_Classes_ObjController::getDomain()
S
67 2 7
HMW_Classes_DisplayController::getView()
S
65 2 9
HMW_Models_Brute::brute_get_blocked_attempts()
S
69 2 7
HMW_Classes_Action::hookFrontinit()
S
76 2 5
HMW_Models_Rules::writeInHtaccess()
S
71 2 6
HMW_Controllers_Widget::dashboard()
S
62 2 9
HMW_Models_Rewrite::changeEncodedURLFinal()
S
71 2 5
HMW_Models_Rewrite::register_url()
S
69 2 6
HMW_Controllers_SecurityCheck::checkExposedPHP()
S
68 2 7
HMW_Models_Rewrite::replace_error_message()
S
68 2 8
HMW_Models_Rewrite::changeEncodedURL()
S
71 2 5
HMW_Controllers_SecurityCheck::checkAllowUrlInclude()
S
68 2 7
HMW_Controllers_SecurityCheck::checkBlogSiteURL()
S
66 2 8
HMW_Models_Compatibility::deregisterMUPlugin()
S
66 2 8
HMW_Models_Compatibility::addMUPlugin()
S
71 2 6
HMW_Classes_Error::setError()
S
66 2 8
HMW_Models_Compatibility::deleteMUPlugin()
S
72 2 6
HMW_Controllers_SecurityCheck::checkPHP()
S
63 2 10
HMW_Models_Rewrite::get403Error()
S
66 2 8
HMW_Classes_Tools::isLighthttp()
S
76 2 3
HMW_Models_Compatibility::wpDefenderLogin()
S
70 2 6
HMW_Controllers_SecurityCheck::checkWLW()
S
68 2 7
HMW_Controllers_SecurityCheck::checkAdminUsers()
S
67 2 7
HMW_Models_Compatibility::install()
S
75 2 5
HMW_Classes_Tools::saveOptionsBackup()
S
72 2 5
HMW_Classes_Tools::hmw_remote_post()
S
67 2 7
HMW_Classes_Action::hookMultisiteMenu()
S
75 2 5
HMW_Models_Rewrite::lostpassword_url()
S
69 2 6
HMW_Controllers_SecurityCheck::checkPHPSafe()
S
67 2 7
HMW_Models_Rewrite::addDomainUrl()
S
72 2 5
HMW_Controllers_Settings::__construct()
S
64 2 10
HMW_Controllers_SecurityCheck::checkBlogDescription()
S
67 2 7
HMW_Classes_Tools::showNotices()
S
65 2 9
HMW_Classes_Tools::hookActionlink()
S
64 2 9
HMW_Controllers_Brute::__construct()
S
63 2 10
HMW_Controllers_SecurityCheck::checkRDS()
S
68 2 7
HMW_Models_Rewrite::replaceText()
S
68 2 7
HMW_Models_Brute::clean_ip()
S
68 2 7
HMW_Models_Rewrite::replace_author_url()
S
70 2 6
HMW_Classes_Tools::hmw_deactivate()
S
63 2 10
HMW_Controllers_SecurityCheck::checkRegisterGlobals()
S
67 2 7
HMW_Classes_Tools::getAllPlugins()
S
67 2 7
HMW_Classes_Action::hookMenu()
S
75 2 5
HMW_Controllers_SecurityCheck::checkXmlrpc()
S
68 2 7
HMW_Classes_Tools::flushWPRewrites()
S
71 2 6
HMW_Models_Rewrite::fixRelativeLinks()
S
61 1 15
HMW_Models_Rewrite::shutDownBuffer()
S
69 2 7
HMW_Models_Compatibility::buildLoaderContent()
S
65 1 13
HMW_Classes_HookController::__construct()
S
62 1 12
HMW_Controllers_Rewrite::disable_emojicons()
S
62 1 11
HMW_Controllers_Menu::hookDashboardSetup()
S
62 1 11
HMW_Controllers_SecurityCheck::checkMysql()
S
67 1 8
HMW_Models_Brute::get_privacy_key()
S
77 1 3
HMW_Models_Rules::writeInNginx()
S
79 1 3
HMW_Classes_HookController::setAction()
S
78 1 3
HMW_Models_Compatibility::uninstall()
S
82 1 3
HMW_Classes_Tools::isWindows()
S
77 1 3
HMW_Models_Rewrite::setRewriteIndexRules()
S
82 1 3
HMW_Models_Rules::getInjectionRewrite()
S
82 1 3
HMW_Classes_FrontController::init()
S
82 1 3
HMW_Classes_FrontController::action()
S
91 1 2
HMW_Controllers_Rewrite::disable_manifest()
S
80 1 3
HMW_Models_Rewrite::clearRedirect()
S
74 1 5
HMW_Controllers_Rewrite::disable_embeds()
S
70 1 6
HMW_Controllers_Rewrite::disable_comments()
S
74 1 5
HMW_Models_Brute::brute_kill_login()
S
67 1 8
HMW_Classes_Tools::returnFalse()
S
81 1 3
QuietSkin::feedback()
S
98 1 1
HMW_Classes_FrontController::show()
S
81 1 3
HMW_Models_Rewrite::remove_jquery_deferred()
S
75 1 4
HMW_Models_Rewrite::getTempBuffer()
S
73 1 5
HMW_Classes_Tools::returnTrue()
S
81 1 3
HMW_Classes_Error::phpVersionError()
S
78 1 3
HMW_Classes_Tools::setContentType()
S
81 1 3
HMW_Classes_Tools::loadMultilanguage()
S
78 1 3
HMW_Models_Rewrite::wp_logout()
S
74 1 4
HMW_Models_Rules::getConfFile()
S
82 1 3
HMW_Models_Rewrite::registration_redirect()
S
80 1 3
HMW_Models_Rewrite::lostpassword_redirect()
S
80 1 3
HMW_Classes_Tools::generateRandomString()
S
76 1 3
HMW_Classes_Tools::getAllThemes()
S
80 1 3
HMW_Models_Brute::delete_ip()
S
81 1 3
HMW_Controllers_Notice::__construct()
S
73 1 5
HMW_Classes_Error::isError()
S
79 1 3
HMW_Models_Rules::getHideOldPathRewrite()
S
82 1 3
HMW_Classes_Tools::cleanResponce()
S
75 1 4
HMW_Controllers_Settings::hookFooter()
S
74 1 4
HMW_Models_Rewrite::addParams()
S
73 1 5
HMW_Controllers_Rewrite::disable_rds()
S
76 1 4
HMW_Classes_FrontController::hookInit()
S
98 1 1
HMW_Classes_Tools::isPermalinkStructure()
S
81 1 3
HMW_Controllers_SecurityCheck::checkDisplayErrors()
S
69 1 7
HMW_Controllers_Brute::hmw_failed_attempt()
S
82 1 3
HMW_Models_Rewrite::__construct()
S
77 1 3
HMW_Models_Woocommerce::__construct()
S
79 1 3
HMW_Classes_FrontController::hookHead()
S
98 1 1
HMW_Classes_Tools::getUserRole()
S
80 1 3
HMW_Controllers_Rewrite::disable_rest_api()
S
68 1 7
HMW_Classes_FrontController::hookFrontinit()
S
98 1 1
HMW_Debug::logQueries()
S
77 1 4