Code Analysis: Acunetix WP Security 4.0.5

Function Rating Maintainability Complexity Lines of code
WsdPlugin::activate()
D
24
30 196
WsdPlugin::networkActivate()
D
26
30 177
WpScan::startScan()
C
30 24 117
WsdSecurity::fix_preventDirectoryListing()
B
29 14 178
WsdLiveTraffic::_ajaxGetFrom()
B
34 18 89
WsdCheck::check_files()
B
31 10 150
WsdInfoServer::getServerInfo()
A
36 13 77
WpScan::_checkFiles()
A
42 14 57
WsdUtil::backupDatabase()
A
43 13 47
WsdUtil::displayDashboardWidget()
A
37 10 77
WsdInfoServer::getDatabaseUserAccessRights()
A
42 11 51
WsdUtil::changeFilePermissions()
A
46 11 40
WsdPlugin::getSettings()
A
43 10 51
WsdPlugin::alert()
A
39 7 80
WsdUtil::ajaxDeleteBackupFile()
A
45 9 40
WsdLiveTraffic::isValidIp()
A
59 10 13
WsdSecurity::fix_hideWpVersion()
A
42 7 55
WsdCheck::check_currentVersion()
A
46 7 41
wpsPluginValidateSettingsForm()
A
52 8 26
WsdSecurity::fix_emptyReadmeFileFromRoot()
A
47 7 37
WsdUtil::__doBackup()
S
48 7 30
WsdLiveTraffic::clearEvents()
S
44 6 45
WpScan::stopScan()
S
50 7 29
WsdUtil::updateWpConfigTablePrefix()
S
51 7 26
WsdInfo::getCurrentVersionInfo()
S
52 7 24
acx_filter_generator()
S
55 7 23
WsdSecurity::fix_removeWpMetaGeneratorsFrontend()
S
44 5 50
WsdUtil::includePage()
S
61 8 10
WsdLiveTraffic::ajaxGetTrafficData()
S
57 7 14
WsdLiveTraffic::registerHit()
S
49 6 29
WsdWpScanner::registerScan()
S
50 6 27
wpsNetworkActivate()
S
46 5 40
wssPlugin_shutdown()
S
54 6 21
WsdScheduler::registerCronTask()
S
55 6 20
WsdSecurity::fix_removeWindowsLiveWriter()
S
51 5 28
WsdSecurity::fix_removeReallySimpleDiscovery()
S
51 5 26
WsdCheck::adminUsername()
S
47 4 36
WsdLiveTraffic::_getGeoIpInfo()
S
56 5 18
wpsPlugin_GetFeedData()
S
49 4 30
WsdUtil::canIgnoreScanPath()
S
59 5 15
WsdLiveTraffic::getIP()
S
64 6 8
WsdSecurity::fix_disableErrorReporting()
S
47 3 43
WsdWatch::_watchUserInfoUpdated()
S
51 4 26
WsdSecurity::fix_removePluginUpdateNotifications()
S
48 3 34
WsdUtil::renameDbFields()
S
53 4 19
WsdUtil::addDashboardWidget()
S
56 4 18
WsdWpScanner::getScans()
S
56 4 18
WsdSecurity::fix_removeCoreUpdateNotification()
S
49 3 31
wpsNetworkDeactivate()
S
58 4 15
WsdSecurity::fix_removeThemeUpdateNotifications()
S
51 3 28
WsdSecurity::fix_hideAdminNotifications()
S
51 3 27
WsdUtil::writeFile()
S
61 4 12
WsdSecurity::fix_removeWpVersionFromLinks()
S
52 3 26
WsdInfo::getDatabaseUserAccessRightsInfo()
S
53 3 24
WsdWpScanner::deleteAllScans()
S
54 3 21
WsdUtil::loadTemplate()
S
58 3 16
wpsCanDisplayPage()
S
66 4 9
WsdLiveTraffic::getRequestedUrl()
S
63 4 9
wpsDisplayInstallErrorNotices()
S
66 4 8
wpsCreateNetworkMenu()
S
57 3 14
WsdCheck::check_tablePrefix()
S
52 2 26
wpsCreateSiteMenu()
S
60 3 11
wssLog()
S
61 3 11
WsdSecurity::fix_removeLoginErrorNotificationsFrontEnd()
S
52 2 23
WsdCheck::check_adminInstallFile()
S
55 2 19
WsdCheck::check_adminUpgradeFile()
S
55 2 19
_wpsSiteDeactivate()
S
58 2 18
WsdUtil::getFilePermissions()
S
64 3 10
WsdWpScanner::isValidScan()
S
62 3 10
WsdWPScanSettings::getSetting()
S
71 3 5
WsdWPScanSettings::updateSetting()
S
67 3 8
WsdWPScanSettings::isValidState()
S
66 3 8
WsdWPScanSettings::isValidProgress()
S
66 3 8
WsdScheduler::unregisterCronTask()
S
67 3 8
WsdInfo::getWpContentUploadsIndexInfo()
S
65 3 8
WsdScheduler::unregisterCronTasks()
S
67 3 8
WsdScheduler::registerTask()
S
65 3 10
WsdWpScanner::deleteScan()
S
64 3 9
WsdScheduler::canRegisterCronTask()
S
88 3 1
WpsSettings::getSettingsList()
S
51 1 30
WsdInfo::getWpContentPluginsIndexInfo()
S
65 3 8
WsdInfo::getWpContentThemesIndexInfo()
S
65 3 8
WsdUtil::getWpConfigFilePath()
S
64 3 10
wpsIsValidInstall()
S
66 3 9
wpsRunFixes()
S
67 3 7
WpScan::_markScanFailed()
S
61 2 12
WsdWpScanner::checkWpScan()
S
62 2 11
WsdUtil::renameTables()
S
61 2 11
WsdWatch::_getUserInfo()
S
61 2 11
WsdUtil::canLoad()
S
87 2 1
WsdLiveTraffic::getTrafficData()
S
67 2 7
WsdUtil::getAvailableBackupFiles()
S
71 2 5
WsdPlugin::loadResources()
S
64 2 9
WsdWPScanSettings::isValidScanType()
S
75 2 3
WsdInfo::getDatabasePrefixInfo()
S
64 2 9
WsdPlugin::isSettingEnabled()
S
74 2 4
wpsPlugin_addCronIntervals()
S
59 1 15
WsdWPScanSettings::getSettings()
S
67 2 8
WpsOption::deleteOption()
S
71 2 6
wssCustomLinks()
S
86 2 1
WsdInfo::getWpContentIndexInfo()
S
68 2 6
WsdWpScanner::getLastScanID_table()
S
69 2 6
WsdWpScanner::getScanState()
S
69 2 7
WsdUtil::isWinOs()
S
76 2 3
WsdWpScanner::getLastCompletedScanID()
S
69 2 6
wpsAdminNotice()
S
88 2 1
WsdLiveTraffic::getReferrer()
S
87 2 1
WsdUtil::loadTextDomain()
S
87 2 1
WpsSettings::getScanFileList()
S
58 1 15
wpsAdminNoticeError()
S
88 2 1
WsdInfo::getAdminUsernameInfo()
S
65 2 8
WpsOption::updateOption()
S
70 2 6
_wpsSiteActivate()
S
71 2 5
WpsOption::addOption()
S
70 2 6
WsdPlugin::swpPluginInstalled()
S
74 2 4
WsdInfo::getWpVersionStatusInfo()
S
72 2 5
__checkSelected()
S
76 2 4
wpsIsMultisite()
S
90 2 1
WsdWpScanner::getScanProgress()
S
69 2 7
WsdInfo::getWpAdminHtaccessInfo()
S
64 2 9
WpsSettings::getJsonRepoUrl()
S
69 2 7
WsdLiveTraffic::getUserAgent()
S
87 2 1
WpsOption::getOption()
S
70 2 6
WsdLiveTraffic::isUrlExcluded()
S
74 2 4
WsdUtil::tableExists()
S
71 2 5
WsdInfo::getPhpStartupErrorStatusInfo()
S
66 2 7
WsdUtil::checkFileName()
S
71 2 6
WsdPlugin::uninstall()
S
63 1 11
WsdWpScanner::getFailedEntries()
S
71 1 5
WsdUtil::jsUrl()
S
90 1 1
WsdLiveTraffic::__construct()
S
98 1 1
WpScan::_markFileNotFound()
S
68 1 7
WsdPlugin::pageSettings()
S
91 1 1
WsdPlugin::pageWpFileScan()
S
69 1 6
WpScan::_markFileModified()
S
67 1 7
wpsPlugin_updateRssFeedOption()
S
70 1 6
WsdWPScanSettings::deleteSettings()
S
76 1 4
WsdPlugin::getChildAlerts()
S
70 1 5
WsdWatch::userPasswordUpdate()
S
75 1 4
WsdUtil::cssUrl()
S
90 1 1
WsdUtil::normalizePath()
S
79 1 3
WsdPlugin::pageMain()
S
69 1 6
WsdPlugin::pageLiveTraffic()
S
75 1 4
WsdUtil::makeSeed()
S
73 1 4
WsdUtil::isAdministrator()
S
75 1 4
WsdUtil::loadPluggable()
S
90 1 1
WsdWpScanner::getScanInfo()
S
71 1 5
WsdPlugin::pageWpInfo()
S
91 1 1
WsdUtil::resUrl()
S
91 1 1
WsdPlugin::deactivate()
S
68 1 8
WsdLiveTraffic::__clone()
S
98 1 1
WsdPlugin::getAlerts()
S
71 1 5
WsdWPScanSettings::saveSettings()
S
79 1 3
wpsPlugin_handleDisplayRssData()
S
71 1 5
WsdPlugin::pageBlog()
S
91 1 1
WsdPlugin::getAlertsBy()
S
71 1 5
WsdPlugin::getTableName()
S
79 1 3
wpsIsMainSite()
S
90 1 1
WsdUtil::getTablesToAlter()
S
74 1 4
WsdPlugin::pageAbout()
S
91 1 1
WsdLiveTraffic::getLastID()
S
74 1 4
WsdUtil::imageUrl()
S
90 1 1
WsdWPScanSettings::_setDefaultSettings()
S
66 1 9
WsdSecurityHelper::__removeWpVersionFromLinks()
S
75 1 4
wpsGetBasePrefix()
S
91 1 1
WpScan::_markScanCompleted()
S
65 1 8
WsdPlugin::pageDatabase()
S
91 1 1
__hideFooterVersion()
S
94 1 1