Code Analysis: Redirection 1.1.0

Function Rating Maintainability Complexity Lines of code
IRRPHelper::applyIncExcRules()
D
9
114 273
IRRPHelper::getRedirectData()
D
8
108 308
IRRPHelperAjax::addRedirectRule()
D
28
30 125
IRRPDBManager::getAll()
C
37 29 61
IRRPExportImport::importRedirects()
C
31 24 108
IRRPHelperAjax::addRedirect()
B
32 21 105
IRRPHelperAjax::instantEditRedirect()
B
37 22 71
IRRPHelper::buildLogsHtml()
A
47 17 29
Inisev\Subs\Inisev_Carousel::menu_name()
A
45 16 39
IRRPHelperAjax::deleteRedirect()
A
39 14 62
Inisev\Subs\Inisev_Carousel::__construct()
A
45 14 34
IRRPHelperAjax::bulkDelete()
A
40 12 58
IRRPExportImport::exportRedirects()
A
43 13 42
IRRPHelper::getHumanReadableValues()
A
51 14 23
IRRPDBManager::search()
A
43 12 44
IRRPHelper::logRequest()
A
45 12 41
IRRPSettings::backendScripts()
A
31 7 114
IRRPDBManager::isAre404sRuleExists()
A
55 12 17
IRRPDBManager::isAllURLsRuleExists()
A
55 12 17
IRRPHelperAjax::saveRedirectSettings()
A
45 10 38
Inisev\Subs\Inisev_Carousel::install()
A
46 10 36
IRRPHelper::downloadLogs()
A
47 10 31
IRRPHelperAjax::liveSearch()
A
44 9 44
IRRPHelperAjax::redirectionPageContent()
A
44 9 40
IRRPHelper::buildRedirectsHtml()
A
44 8 41
IRRPHelperAjax::selectAll()
A
46 8 37
IrrPRedirection::irrpInit()
A
35 3 111
IRRPHelper::deleteLogs()
A
55 9 17
IRRPSettings::loadTab()
A
50 8 26
IRRPDBManager::logGet()
S
45 6 41
IRRPHelperAjax::statusBulkEdit()
S
51 7 24
analyst_resolve_sdk()
S
46 6 39
IRRPDBManager::getBestMatchedIDBySlug()
S
53 6 22
IRRPHelperAjax::loadRedirectSettings()
S
48 5 32
Inisev\Subs\Inisev_Carousel::setup()
S
57 6 14
Inisev\Subs\Inisev_Carousel::handle_installation()
S
58 6 14
IRRPDBManager::logLimitOffset()
S
59 6 14
IRRPHelperAjax::logPageContent()
S
49 5 28
IRRPDBManager::logOrderBy()
S
60 6 12
IRRPDBManager::searchCount()
S
52 5 21
IRRPDBManager::getMeta()
S
55 5 19
IRRPHelper::getCombinations()
S
56 5 18
IRRPDBManager::getPostBySlug()
S
55 5 18
IRRPHelper::getProtocol()
S
63 6 9
IRRPHelperAjax::logFilter()
S
49 4 28
IRRPDBManager::bulkDelete()
S
52 4 24
IRRPDBManager::isRedirectExists()
S
54 4 21
IRRPDBManager::_createTables()
S
46 2 50
IRRPHelperAjax::cronLogDeleteOption()
S
55 4 17
analyst_init()
S
58 4 16
IRRPHelper::cronDeleteLogs()
S
58 4 15
IRRPHelper::getItemsPerPage()
S
63 5 9
IRRPDBManager::createTables()
S
59 4 14
IrrPRedirection::adminNotices()
S
61 4 12
Analyst\Notices\NoticeFactory::instance()
S
63 4 11
Account\AccountDataFactory::instance()
S
63 4 11
IRRPSettings::saveSettings()
S
54 3 20
IrrPRedirection::irrpDependencies()
S
54 3 18
IRRPHelper::doRedirect()
S
68 4 7
Account\Account::onDeactivatePluginListener()
S
62 4 10
IRRPHelper::isEmpty()
S
61 3 13
IRRPDBManager::getCount()
S
61 3 11
IRRPHelper::templateRedirect()
S
63 3 11
IRRPHelper::getHttpCode()
S
62 3 11
IRRPDBManager::getMatched()
S
60 3 11
IRRPDBManager::getLastId()
S
61 3 11
Analyst\Http\CurlHttpClient::resolveResponseHeaders()
S
62 3 11
Analyst\Http\CurlHttpClient::request()
S
51 2 25
Analyst\Http\WordPressHttpClient::request()
S
54 2 23
IRRPDBManager::logDelete()
S
57 2 17
Analyst\Mutator::registerLinks()
S
57 2 17
IRRPSettings::loadSettings()
S
57 2 16
IRRPDBManager::bulkDeleteMeta()
S
62 3 10
Account\Account::onRenderActionLinksHook()
S
62 3 10
Inisev\Subs\Inisev_Carousel::is_plugin_installed()
S
67 3 7
IRRPHelper::isDeleteOptionValid()
S
71 3 5
IRRPDBManager::whereLogRequestTimestamp()
S
67 3 7
Inisev\Subs\Inisev_Carousel::_print()
S
65 3 9
IRRPHelper::sanitizeData()
S
64 3 10
IRRPHelper::getRealIPAddr()
S
64 3 10
Account\AccountDataFactory::getAccountDataByBasePath()
S
65 3 9
Account\AccountDataFactory::findAccountDataById()
S
67 3 8
IRRPDBManager::statusBulkEdit()
S
62 3 10
Analyst\Cache\DatabaseCache::__construct()
S
67 3 7
Analyst\Core\AbstractFactory::unserialize()
S
67 3 8
Account\Account::onActivePluginListener()
S
64 3 10
IRRPHelper::__construct()
S
63 3 9
Analyst\Analyst::registerAccount()
S
60 2 14
Account\Account::onUninstallPluginListener()
S
61 2 11
Account\AccountDataFactory::resolvePluginAccountData()
S
63 2 11
Account\Account::onInstallListener()
S
53 1 24
IRRPSettings::getDefaultSettings()
S
54 1 20
IRRPHelperAjax::__construct()
S
54 1 19
Analyst\Http\Requests\AbstractLoggerRequest::toArray()
S
57 1 17
IRRPDBManager::checkTablesCreated()
S
70 2 6
IRRPDBManager::logAdd()
S
61 1 15
Inisev\Subs\Inisev_Carousel::fail()
S
68 2 8
Account\Account::addAjax()
S
74 2 4
IRRPDBManager::whereLogId()
S
68 2 7
IRRPHelper::buildPaginationHtml()
S
75 2 5
analyst_assets_url()
S
66 2 8
IRRPDBManager::whereLogRedirectId()
S
68 2 7
IRRPDBManager::whereLogRequestUrl()
S
68 2 7
IRRPDBManager::whereLogResponseUrl()
S
68 2 7
IRRPDBManager::whereLogRequestCode()
S
68 2 7
IRRPDBManager::whereLogResponseCode()
S
68 2 7
IRRPHelper::unescapeData()
S
74 2 4
IRRPDBManager::whereLogLogCode()
S
68 2 7
Analyst\Cache\DatabaseCache::delete()
S
69 2 7
Analyst\Analyst::getInstance()
S
71 2 6
IRRPHelper::is404()
S
74 2 4
IRRPDBManager::onNewBlog()
S
69 2 7
Analyst\ApiRequestor::resolveHttpClient()
S
68 2 7
Analyst\ApiResponse::isSuccess()
S
79 2 3
Analyst\Collector::getCurrentUserName()
S
80 2 3
IRRPDBManager::getRules()
S
64 2 9
Analyst\Collector::resolvePluginData()
S
70 2 6
Analyst\Collector::getPluginVersion()
S
74 2 4
IrrPRedirection::getInstance()
S
72 2 6
Analyst\Collector::getMysqlVersion()
S
71 2 5
Analyst\Collector::getActivePluginsList()
S
63 2 10
Analyst\Cache\DatabaseCache::getInstance()
S
71 2 6
IrrPRedirection::activated()
S
72 2 5
Analyst\Cache\DatabaseCache::get()
S
74 2 4
IrrPRedirection::uninstall()
S
65 2 9
Account\Account::onInstallVerifiedListener()
S
60 1 14
Analyst\ApiRequestor::request()
S
62 1 11
IRRPSettings::settingsPage()
S
64 1 11
Account\Account::registerHooks()
S
61 1 11
IRRPSettings::__construct()
S
61 1 11
Account\AccountData::isSigned()
S
82 1 3
Account\Account::setPath()
S
77 1 4
IRRPDBManager::edit()
S
71 1 5
Inisev\Subs\Inisev_Carousel::get_asset()
S
80 1 3
Account\Account::onSkipInstallListener()
S
77 1 4
Analyst\Http\Requests\InstallRequest::execute()
S
79 1 3
Analyst\Http\Requests\ActivateRequest::execute()
S
79 1 3
Analyst\Http\Requests\DeactivateRequest::make()
S
78 1 3
Account\Account::getData()
S
82 1 3
Account\Account::setData()
S
68 1 7
IRRPHelper::getHumanReadableColumns()
S
69 1 8
Inisev\Subs\Inisev_Carousel::install_plugin()
S
68 1 7
IRRPDBManager::__construct()
S
68 1 7
Analyst\Notices\NoticeFactory::syncData()
S
81 1 3
Analyst\Notices\Notice::getPluginName()
S
82 1 3
Inisev\Subs\Inisev_Carousel::_asset()
S
79 1 3
Account\Account::setRequestor()
S
81 1 3
Account\Account::getClientSecret()
S
82 1 3
Account\Account::getCollector()
S
82 1 3
Account\Account::setCollector()
S
81 1 3
Account\Account::isAllowingLogging()
S
82 1 3
Account\Account::getBasePluginPath()
S
82 1 3
Account\Account::isInstallResolved()
S
82 1 3
Account\Account::setIsInstallResolved()
S
77 1 4
Account\AccountData::getId()
S
82 1 3
Account\AccountData::setId()
S
81 1 3
Account\AccountData::setPath()
S
77 1 4
Analyst\Http\Requests\UninstallRequest::execute()
S
79 1 3
Account\Account::setIsSigned()
S
77 1 4
Account\AccountData::isInstalled()
S
82 1 3
IRRPDBManager::dropTables()
S
70 1 6
Account\AccountData::setIsInstallResolved()
S
81 1 3
Analyst\Http\Requests\DeactivateRequest::execute()
S
79 1 3
Analyst\Analyst::initialize()
S
75 1 5
Analyst\Notices\NoticeFactory::getNoticesForAccount()
S
73 1 5
Account\AccountDataFactory::syncData()
S
81 1 3
Analyst\Notices\Notice::getAccountId()
S
82 1 3
IrrPRedirection::__construct()
S
74 1 4
IRRPDBManager::updateMeta()
S
71 1 5
Analyst\ApiRequestor::resolveFullUrl()
S
78 1 3
Analyst\Collector::getPHPVersion()
S
81 1 3
Analyst\Cache\DatabaseCache::pop()
S
73 1 5
IRRPHelper::nonceKey()
S
79 1 3
Analyst\Analyst::__construct()
S
69 1 7
Analyst\Collector::getSDKVersion()
S
81 1 3
Analyst\Collector::getWordPressVersion()
S
78 1 4
IRRPDBManager::get()
S
71 1 5
Analyst\ApiRequestor::post()
S
78 1 3
Analyst\Http\Requests\AbstractLoggerRequest::__construct()
S
74 1 5
Analyst\Http\Requests\OptOutRequest::execute()
S
79 1 3
IRRPSettings::settingsForm()
S
82 1 3
Analyst\Http\CurlHttpClient::hasSupport()
S
80 1 3
Analyst\ApiRequestor::put()
S
78 1 3
Analyst\Http\CurlHttpClient::prepareRequestHeaders()
S
72 1 5
Analyst\Mutator::__construct()
S
73 1 5
Analyst\ApiRequestor::get()
S
78 1 3
Analyst\Collector::loadCurrentUser()
S
80 1 3
Account\AccountData::isInstallResolved()
S
82 1 3
Analyst\Notices\Notice::getId()
S
82 1 3
Account\Account::setId()
S
81 1 3
Analyst\Collector::isUserAdministrator()
S
79 1 3
Inisev\Subs\Inisev_Carousel::makelower()
S
65 1 9
Account\Account::isActive()
S
80 1 3
Analyst\ApiRequestor::resolveSignature()
S
70 1 5
Account\Account::getRequestor()
S
82 1 3
Analyst\Notices\NoticeFactory::find()
S
70 1 6
Analyst\Analyst::getApiBase()
S
82 1 3
Analyst\Http\WordPressHttpClient::hasSupport()
S
80 1 3
Analyst\ApiRequestor::resolveValidHeaderName()
S
80 1 3
Account\AccountData::setIsSigned()
S
81 1 3
Analyst\Collector::__construct()
S
81 1 3
Account\AccountData::getSecret()
S
82 1 3
Analyst\Notices\Notice::setBody()
S
81 1 3
Analyst\Analyst::version()
S
75 1 4
Analyst\ApiRequestor::setApiBase()
S
81 1 3
Analyst\Notices\NoticeFactory::sync()
S
79 1 3
Analyst\Cache\DatabaseCache::sync()
S
79 1 3
Account\AccountData::setIsInstalled()
S
81 1 3
Analyst\Http\Requests\OptInRequest::execute()
S
79 1 3
Account\Account::setIsInstalled()
S
77 1 4
IrrPRedirection::MetaVersion()
S
80 1 3
Analyst\Notices\Notice::make()
S
78 1 3
IRRPDBManager::deleteMeta()
S
74 1 4
Analyst\Notices\Notice::getBody()
S
82 1 3
IrrPRedirection::irrpSetIntervals()
S
68 1 7
IRRPSettings::getData()
S
82 1 3
Account\Account::isOptedIn()
S
82 1 3
Analyst\Collector::getServerIp()
S
79 1 3
Analyst\Collector::getGeneralEmailAddress()
S
80 1 3
Account\AccountData::isOptedIn()
S
82 1 3
IRRPExportImport::__construct()
S
69 1 6
Analyst\ApiRequestor::setDefaultHeader()
S
74 1 5
Inisev\Subs\Inisev_Carousel::upgrade_plugin()
S
68 1 7
IRRPDBManager::logCountUsage()
S
74 1 4
Analyst\ApiResponse::__construct()
S
74 1 5
IRRPHelper::getMicrotime()
S
74 1 4
Account\Account::setIsOptedIn()
S
77 1 4
Analyst\Notices\Notice::setPluginName()
S
81 1 3
Analyst\Notices\Notice::setId()
S
81 1 3
Analyst\Http\Requests\DeactivateRequest::toArray()
S
71 1 6
Account\AccountData::setSecret()
S
81 1 3
Account\Account::isSigned()
S
82 1 3
Analyst\Http\Requests\UninstallRequest::make()
S
79 1 3
Analyst\Collector::getSiteUrl()
S
80 1 3
Analyst\Http\Requests\OptInRequest::make()
S
79 1 3
Analyst\Http\Requests\AbstractLoggerRequest::execute()
S
100 1 0
Analyst\Notices\NoticeFactory::addNotice()
S
73 1 5
IRRPDBManager::addMeta()
S
72 1 5
Account\AccountData::setIsOptedIn()
S
81 1 3
IRRPDBManager::delete()
S
74 1 4
Analyst\Analyst::isAccountRegistered()
S
79 1 3
Analyst\Collector::getSiteLanguage()
S
81 1 3
Analyst\Http\DummyHttpClient::request()
S
79 1 3
Analyst\Notices\NoticeFactory::remove()
S
68 1 8
Analyst\ApiRequestor::delete()
S
78 1 3
Account\Account::onOptInListener()
S
70 1 6
Inisev\Subs\Inisev_Carousel::_include()
S
78 1 3
Analyst\ApiRequestor::prepareHeaders()
S
79 1 3
Analyst\ApiRequestor::guessClientSupportEnvironment()
S
74 1 5
Analyst\Http\Requests\OptOutRequest::make()
S
79 1 3
Account\Account::getId()
S
82 1 3
Account\AccountData::getPath()
S
82 1 3
Analyst\Collector::getCurrentUserEmail()
S
82 1 3
Analyst\Cache\DatabaseCache::put()
S
73 1 5
Analyst\Collector::getCurrentThemeName()
S
80 1 3
Account\Account::__construct()
S
71 1 6
Analyst\Http\DummyHttpClient::hasSupport()
S
81 1 3
IrrPRedirection::links()
S
70 1 5
Account\Account::onOptOutListener()
S
70 1 6
analyst_templates_path()
S
73 1 4
Analyst\Mutator::registerAssets()
S
70 1 6
Analyst\Analyst::resolveRequestorForAccount()
S
67 1 8
Analyst\ApiRequestor::__construct()
S
71 1 6
analyst_require_template()
S
77 1 4
Analyst\Mutator::initialize()
S
75 1 5
IRRPDBManager::add()
S
71 1 5
Analyst\Http\Requests\DeactivateRequest::__construct()
S
72 1 5
irrpSetIntervals()
S
68 1 7
Account\Account::resolveActionName()
S
79 1 3
Account\Account::getPath()
S
82 1 3
Analyst\Notices\Notice::setAccountId()
S
81 1 3
IRRPSettings::setData()
S
81 1 3
Analyst\Notices\Notice::__construct()
S
71 1 6
Analyst\Mutator::registerHooks()
S
71 1 6
IRRPHelper::getNonce()
S
80 1 3
Analyst\Collector::getPluginName()
S
75 1 4
IRRPHelper::customDropdown()
S
81 1 3
Analyst\Http\Requests\ActivateRequest::make()
S
79 1 3
Account\Account::isInstalled()
S
82 1 3
Account\AccountDataFactory::sync()
S
79 1 3
IRRPDBManager::onDeleteBlog()
S
71 1 6
Analyst\Http\Requests\InstallRequest::make()
S
79 1 3
Account\Account::addFilter()
S
74 1 4
analyst_assets_path()
S
73 1 4
IRRPSettings::initSettings()
S
79 1 3
Analyst\Notices\NoticeFactory::getNotices()
S
82 1 3