Code Analysis: Migrate Guru 4.72

Function Rating Maintainability Complexity Lines of code
BVDBCallback::process()
D
23
44 174
BVFSCallback::process()
D
29 32 119
BVCallbackRequest::processParams()
C
35 31 73
BVMiscCallback::process()
C
32 24 100
BVInfoCallback::process()
B
36 21 74
BVCallbackHandler::routeRequest()
B
38 15 73
BVFSCallback::scanFiles()
A
42 15 50
MGWPAdmin::initBranding()
A
48 12 35
BVAccountCallback::process()
A
45 11 43
BVFSCallback::scanFilesUsingGlob()
A
44 11 43
BVFSCallback::uploadFiles()
A
46 10 37
MGWPAdmin::initHandler()
A
52 10 22
BVHttpStream::getResponse()
A
47 9 36
BVDBCallback::getTableData()
A
46 8 39
BVInfoCallback::getWpInfo()
A
46 8 35
BVFSCallback::calculateMd5()
A
51 8 25
BVInfoCallback::availableFunctions()
A
54 8 23
BVInfoCallback::getPostActivateInfo()
A
55 8 19
BVBrandCallback::process()
S
46 6 40
BVInfoCallback::getUsersHandler()
S
51 7 25
BVFSCallback::getFilesContent()
S
53 7 24
BVInfoCallback::getSiteInfo()
S
57 7 16
BVInfoCallback::getSystemInfo()
S
52 6 24
BVFSCallback::fileStat()
S
54 6 20
MGWPAdmin::hidePluginDetails()
S
59 6 13
MGWPAdmin::showErrors()
S
60 6 12
BVStream::startStream()
S
51 5 27
MGWPSiteInfo::dbsig()
S
60 6 12
BVAccountCallback::updateInfo()
S
55 5 21
BVCallbackRequest::info()
S
56 5 20
BVStream::writeStream()
S
56 5 17
BVFSCallback::getFilesStats()
S
57 5 16
BVCallbackRequest::compare_mac()
S
61 5 13
BVHttpStream::sendRequest()
S
55 4 18
MGAccount::find()
S
62 5 10
BVInfoCallback::getHostInfo()
S
60 4 14
BVHttpStream::connect()
S
59 4 14
MGWPDb::createTable()
S
60 4 13
BVInfoCallback::getThemes()
S
61 4 12
MGInfo::appUrl()
S
63 4 11
MGAccount::accountsByPlugname()
S
62 4 11
MGInfo::canSetCWBranding()
S
62 4 11
BVInfoCallback::getUsers()
S
54 3 21
MGAccount::updateInfo()
S
55 3 19
BVInfoCallback::getPlugins()
S
56 3 18
BVCallbackRequest::__construct()
S
56 3 16
BVInfoCallback::getPosts()
S
57 3 16
MGInfo::isDynSyncModuleEnabled()
S
64 4 9
MGInfo::isServiceActive()
S
67 4 7
MGRecover::find()
S
63 4 10
MGWPAdmin::menu()
S
63 4 9
MGWPAPI::pingbv()
S
63 4 10
MGAccount::accountsByGid()
S
63 4 10
MGAccount::accountsByType()
S
63 4 10
MGAccount::accountsByPattern()
S
62 4 10
MGAccount::authenticate()
S
61 3 12
BVCallbackBase::base64Encode()
S
61 3 12
MGWPAction::activate()
S
63 3 11
MGWPAdmin::activateWarning()
S
64 3 11
MGWPSiteInfo::serversig()
S
62 3 11
BVMiscCallback::post_types_data()
S
53 2 21
BVInfoCallback::themeToArray()
S
56 2 20
BVMiscCallback::taxonomy_data()
S
54 2 20
BVInfoCallback::refreshUpdatesInfo()
S
57 2 19
BVHttpStream::multipartChunkedPost()
S
57 2 16
MGInfo::getBrandName()
S
68 3 7
MGInfo::getBrandIcon()
S
68 3 7
MGRecover::validate()
S
68 3 7
MGWPAdmin::removeAdminNotices()
S
70 3 6
MGWPSiteInfo::isMainSite()
S
72 3 5
MGWPAdmin::getPluginLogo()
S
68 3 7
MGWPAdmin::getWebPage()
S
68 3 7
BVCallbackRequest::serialization_safe_decode()
S
66 3 8
MGWPDb::getTableContent()
S
64 3 9
MGAccount::removeByAccountType()
S
63 3 10
MGWPSettings::getOption()
S
64 3 10
BVInfoCallback::cookieInfo()
S
67 3 8
MGAccount::removeByAccountGid()
S
63 3 10
BVInfoCallback::getTransient()
S
70 3 6
BVHttpStream::post()
S
62 3 10
MGInfo::getCurrentDBVersion()
S
68 3 7
BVHttpStream::endStream()
S
59 2 14
MGWPAdmin::settingsLink()
S
59 2 13
MGWPAPI::http_request()
S
62 2 11
MGAccount::getSigMatch()
S
63 2 11
MGWPAdmin::siteInfoTags()
S
55 1 19
MGWPDb::tinfo()
S
64 2 10
MGWPSettings::updateOption()
S
69 2 7
BVInfoCallback::dbconf()
S
66 2 8
MGWPSiteInfo::siteurl()
S
69 2 7
MGWPSiteInfo::getMainSiteId()
S
73 2 5
MGWPSettings::deleteOption()
S
69 2 7
MGWPAdmin::mgsecAdminMenu()
S
70 2 6
MGWPSiteInfo::basic()
S
64 2 9
MGInfo::getRequestID()
S
71 2 6
MGWPDb::deleteBVTableContent()
S
66 2 8
MGInfo::getWatchTime()
S
75 2 4
MGWPDb::dropBVTable()
S
68 2 7
MGAccount::addAccount()
S
66 2 8
MGWPSettings::deleteTransient()
S
71 2 6
MGWPSettings::setTransient()
S
70 2 6
MGInfo::isActivateRedirectSet()
S
78 2 3
MGRecover::defaultSecret()
S
67 2 8
MGWPSettings::getOptions()
S
70 2 6
MGWPSiteInfo::wpurl()
S
71 2 6
MGWPDb::deleteRowsFromtable()
S
66 2 8
MGWPSettings::updateOptions()
S
67 2 8
MGWPSettings::deleteOptions()
S
67 2 8
BVCallbackRequest::http_request()
S
68 2 7
BVCallbackResponse::addArrayToStatus()
S
71 2 6
BVDBCallback::getLastID()
S
69 2 7
BVDBCallback::checkTables()
S
66 2 8
MGWPSettings::getTransient()
S
71 2 6
MGWPAdmin::mainUrl()
S
68 2 7
BVDBCallback::getCreateTableQueries()
S
67 2 8
MGWPAction::footerHandler()
S
67 2 7
MGAccount::remove()
S
65 2 9
BVCallbackRequest::get_params_via_api()
S
68 2 7
BVDBCallback::describeTables()
S
67 2 8
MGWPSiteInfo::homeurl()
S
69 2 7
BVDBCallback::getTablesRowCount()
S
67 2 8
BVDBCallback::getTablesKeys()
S
67 2 8
MGAccount::randString()
S
64 2 9
MGWPSiteInfo::isMultisite()
S
74 2 5
MGWPAPI::do_request()
S
68 2 7
MGWPDb::dbprefix()
S
73 2 5
MGAccount::allAccounts()
S
69 2 7
MGWPDb::alterBVTable()
S
67 2 8
BVDBCallback::checkTablesExist()
S
67 2 8
MGWPDb::truncateBVTable()
S
67 2 8
MGAccount::newAuthParams()
S
60 1 13
BVCallbackHandler::execute()
S
62 1 11
BVCallbackRequest::fileGetContentRequest()
S
63 1 11
MGAccount::exists()
S
74 1 4
MGWPDb::prepare()
S
76 1 4
BVHttpStream::closeChunk()
S
81 1 3
BVAccountCallback::__construct()
S
77 1 4
BVInfoCallback::activate()
S
68 1 8
MGInfo::isMalcare()
S
80 1 3
MGWPDb::getMysqlVersion()
S
77 1 4
MGInfo::isProtectModuleEnabled()
S
80 1 3
BVHttpStream::sendChunk()
S
73 1 5
BVCallbackHandler::__construct()
S
65 1 9
BVRespStream::__construct()
S
81 1 3
MGInfo::getBrandInfo()
S
80 1 3
BVBrandCallback::__construct()
S
81 1 3
MGAccount::info()
S
70 1 6
BVCallbackResponse::__construct()
S
75 1 4
BVRespStream::endStream()
S
77 1 4
MGWPDb::getCharsetCollate()
S
77 1 4
MGRecover::updateDefaultSecret()
S
79 1 3
MGInfo::__construct()
S
76 1 4
BVMiscCallback::refreshThemeUpdates()
S
67 1 8
BVCallbackHandler::bvAdmExecuteWithoutUser()
S
80 1 3
MGWPAction::uninstall()
S
80 1 3
MGWPDb::getCol()
S
76 1 4
MGInfo::hasValidDBVersion()
S
80 1 3
MGWPDb::replaceIntoBVTable()
S
72 1 5
BVCallbackHandler::bvAdmExecuteWithUser()
S
80 1 3
MGWPAction::__construct()
S
71 1 6
MGAccount::getPlugName()
S
76 1 4
MGWPDb::showTableStatus()
S
80 1 3
BVStream::__construct()
S
74 1 5
MGAccount::updateApiPublicKey()
S
79 1 3
BVInfoCallback::getPluginsHandler()
S
79 1 3
MGAccount::sanitizeKey()
S
78 1 3
MGWPDb::checkTable()
S
78 1 3
MGWPDb::getVar()
S
75 1 4
MGWPAction::clear_bv_services_config()
S
81 1 3
MGAccount::apiPublicAccount()
S
75 1 4
BVDBCallback::__construct()
S
74 1 5
MGAccount::update()
S
79 1 3
BVMiscCallback::getWingInfo()
S
80 1 3
MGWPDb::showTableCreate()
S
78 1 3
MGWPDb::showTables()
S
74 1 4
BVInfoCallback::__construct()
S
68 1 7
MGWPDb::getWPTable()
S
80 1 3
MGWPDb::tableName()
S
80 1 3
BVFSCallback::__construct()
S
81 1 3
MGAccount::authenticatedUrl()
S
71 1 5
BVHttpStream::__construct()
S
69 1 6
BVHttpStream::streamedPost()
S
75 1 4
MGWPAction::deactivate()
S
73 1 5
BVInfoCallback::pingBV()
S
71 1 6
MGWPDb::query()
S
76 1 4
MGWPSiteInfo::info()
S
69 1 7
MGWPDb::repairTable()
S
79 1 3
MGWPDb::getSiteId()
S
77 1 4
MGAccount::getApiPublicKey()
S
80 1 3
BVHttpStream::writeChunk()
S
81 1 3
MGInfo::isActivePlugin()
S
74 1 4
BVMiscCallback::__construct()
S
67 1 8
BVInfoCallback::servicesInfo()
S
68 1 7
MGInfo::info()
S
69 1 7
MGWPDb::tableKeys()
S
79 1 3
MGWPDb::getBVTable()
S
79 1 3
BVCallbackRequest::isAPICall()
S
79 1 3
BVCallbackRequest::curlRequest()
S
66 1 8
BVCallbackResponse::addStatus()
S
80 1 3
BVInfoCallback::getStats()
S
69 1 7
MGWPAdmin::adminPage()
S
79 1 3
MGWPAdmin::__construct()
S
71 1 6
BVRespStream::writeChunk()
S
80 1 3
MGRecover::getDefaultSecret()
S
80 1 3
MGWPAPI::__construct()
S
81 1 3
MGWPDb::rowsCount()
S
75 1 4
BVHttpStream::write()
S
80 1 3
BVInfoCallback::getThemesHandler()
S
79 1 3
MGWPDb::getResult()
S
76 1 4
BVCallbackResponse::terminate()
S
66 1 8
MGRecover::deleteDefaultSecret()
S
80 1 3
BVStream::writeChunk()
S
91 1 2
MGAccount::isConfigured()
S
74 1 4
MGAccount::setup()
S
72 1 5
MGWPSiteInfo::isCWServer()
S
79 1 3
MGAccount::__construct()
S
74 1 5
MGWPDb::describeTable()
S
79 1 3
MGWPDb::isTablePresent()
S
78 1 3
MGInfo::isBlogvault()
S
80 1 3
BVCallbackBase::objectToArray()
S
79 1 3
BVMiscCallback::refreshPluginUpdates()
S
67 1 8