Code Analysis: Duplicate Post 1.1.4

Function Rating Maintainability Complexity Lines of code
cdp_configuration()
D
0
117 888
cdp_tooltip_content()
D
23
37 270
cdp_insert_new_post()
D
17
29 295
cdp_modal()
D
26
31 209
cdp_filter_post()
D
40 35 40
cdp_notifications_menu()
C
37 24 67
cdp_filter_meta()
B
48 26 24
cdp_vars()
B
37 16 82
cdp_process_ids()
B
43 18 39
cdp_delete_posts()
B
40 16 50
cdp_save_plugin_options()
A
47 17 30
Inisev\Subs\Inisev_Carousel::menu_name()
A
45 16 39
Inisev\Subs\Inisev_Carousel::__construct()
A
46 13 34
cdp_insert_post()
A
49 13 25
areWePro()
A
53 13 19
cdp_insert_post_meta()
A
51 12 24
cdp_insert_attachments()
A
46 11 34
cdp_just_kill_task()
A
51 10 22
cdp_sanitize_array()
A
55 10 18
Inisev\Subs\Inisev_Carousel::install()
A
48 9 32
cdp_copy_comments()
A
46 8 37
cdp_state_post_add()
A
55 9 16
cdp_check_permissions()
S
59 8 13
analyst_resolve_sdk()
S
46 6 39
Inisev\Subs\Inisev_Carousel::setup()
S
58 6 12
cdp_setup_default_profile()
S
61 6 11
cdp_get_all_posts()
S
52 5 24
cdp_create_title()
S
55 5 17
Inisev\Subs\Inisev_Carousel::handle_installation()
S
60 5 12
analyst_init()
S
56 4 18
cdp_clear_all_crons()
S
57 4 17
cdp_set_default_profile()
S
62 5 10
Account\AccountDataFactory::instance()
S
63 4 11
Analyst\Notices\NoticeFactory::instance()
S
63 4 11
cdp_copy_attachment()
S
57 3 16
Account\Account::onDeactivatePluginListener()
S
62 4 10
Analyst\Http\CurlHttpClient::resolveResponseHeaders()
S
62 3 11
Analyst\Http\CurlHttpClient::request()
S
51 2 25
Analyst\Http\WordPressHttpClient::request()
S
54 2 23
Analyst\Mutator::registerLinks()
S
55 2 21
cdp_default_options()
S
49 1 34
cdp_set_noti_as_seen()
S
65 3 8
Account\AccountDataFactory::findAccountDataById()
S
67 3 8
Account\Account::onRenderActionLinksHook()
S
62 3 10
cdp_review()
S
62 3 10
Inisev\Subs\Inisev_Carousel::_print()
S
65 3 9
Inisev\Subs\Inisev_Carousel::is_plugin_installed()
S
67 3 7
cdp_add_new_no_intro()
S
64 3 10
cdp_add_new_intro()
S
65 3 8
Account\Account::onActivePluginListener()
S
64 3 10
Account\AccountDataFactory::getAccountDataByBasePath()
S
65 3 9
cdp_just_hide_task()
S
64 3 8
Analyst\Cache\DatabaseCache::__construct()
S
67 3 7
Analyst\Core\AbstractFactory::unserialize()
S
66 3 8
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
Analyst\Http\Requests\AbstractLoggerRequest::toArray()
S
57 1 17
cdp_default_global_options()
S
59 1 16
cdp_just_get_tasks()
S
70 2 5
Analyst\Collector::getMysqlVersion()
S
71 2 5
cdp_fix_upload_paths()
S
66 2 8
Analyst\Collector::getActivePluginsList()
S
63 2 10
Account\Account::addAjax()
S
74 2 4
cdp_check_childs()
S
68 2 7
Analyst\Cache\DatabaseCache::getInstance()
S
71 2 6
Analyst\Cache\DatabaseCache::get()
S
74 2 4
cdp_get_all_profiles()
S
76 2 4
Analyst\Cache\DatabaseCache::delete()
S
69 2 7
Analyst\Analyst::getInstance()
S
71 2 6
cdp_get_profile()
S
68 2 7
Analyst\ApiRequestor::resolveHttpClient()
S
68 2 7
Inisev\Subs\Inisev_Carousel::fail()
S
68 2 8
analyst_assets_url()
S
66 2 8
Analyst\ApiResponse::isSuccess()
S
79 2 3
Analyst\Collector::getCurrentUserName()
S
80 2 3
Analyst\Collector::resolvePluginData()
S
70 2 6
Analyst\Collector::getPluginVersion()
S
74 2 4
Account\Account::onInstallVerifiedListener()
S
60 1 14
Analyst\ApiRequestor::request()
S
62 1 11
Account\Account::registerHooks()
S
61 1 11
Account\AccountData::setIsOptedIn()
S
81 1 3
Analyst\Collector::isUserAdministrator()
S
79 1 3
Analyst\Collector::getGeneralEmailAddress()
S
80 1 3
Account\AccountData::isOptedIn()
S
82 1 3
Analyst\Collector::getCurrentUserEmail()
S
82 1 3
Account\AccountData::setIsInstalled()
S
81 1 3
Analyst\Collector::__construct()
S
81 1 3
Account\AccountData::isInstalled()
S
82 1 3
Account\Account::getPath()
S
82 1 3
Inisev\Subs\Inisev_Carousel::install_plugin()
S
68 1 7
Account\AccountData::setId()
S
81 1 3
Analyst\ApiRequestor::prepareHeaders()
S
79 1 3
Analyst\ApiRequestor::resolveValidHeaderName()
S
80 1 3
Analyst\ApiRequestor::guessClientSupportEnvironment()
S
74 1 5
Account\Account::isInstalled()
S
82 1 3
Analyst\ApiRequestor::setDefaultHeader()
S
74 1 5
Account\Account::isInstallResolved()
S
82 1 3
Analyst\ApiRequestor::delete()
S
78 1 3
Analyst\ApiRequestor::put()
S
78 1 3
Analyst\ApiRequestor::post()
S
78 1 3
Analyst\ApiRequestor::get()
S
78 1 3
Analyst\ApiRequestor::setApiBase()
S
81 1 3
Analyst\ApiRequestor::__construct()
S
71 1 6
Analyst\Analyst::getApiBase()
S
82 1 3
Analyst\Analyst::resolveRequestorForAccount()
S
67 1 8
Analyst\Analyst::isAccountRegistered()
S
79 1 3
Analyst\Analyst::version()
S
75 1 4
Account\Account::onOptOutListener()
S
70 1 6
Account\Account::setRequestor()
S
81 1 3
Analyst\Analyst::__construct()
S
69 1 7
Inisev\Subs\Inisev_Carousel::get_asset()
S
80 1 3
Account\Account::setId()
S
81 1 3
Analyst\Notices\NoticeFactory::remove()
S
68 1 8
Analyst\Notices\NoticeFactory::find()
S
70 1 6
Analyst\Notices\NoticeFactory::addNotice()
S
73 1 5
Inisev\Subs\Inisev_Carousel::makelower()
S
65 1 9
Account\Account::isActive()
S
80 1 3
Analyst\Notices\NoticeFactory::syncData()
S
81 1 3
Account\Account::addFilter()
S
74 1 4
Account\AccountData::setSecret()
S
81 1 3
Analyst\Notices\Notice::setBody()
S
81 1 3
Account\Account::resolveActionName()
S
79 1 3
Account\Account::setData()
S
68 1 7
Account\AccountData::isSigned()
S
82 1 3
Account\Account::getData()
S
82 1 3
Analyst\Collector::getSiteUrl()
S
80 1 3
analyst_require_template()
S
77 1 4
Analyst\Collector::getSDKVersion()
S
81 1 3
cdp_get_default_profile()
S
79 1 3
Analyst\Collector::loadCurrentUser()
S
80 1 3
analyst_templates_path()
S
73 1 4
Account\AccountData::isInstallResolved()
S
82 1 3
Analyst\Mutator::__construct()
S
73 1 5
Analyst\Notices\Notice::setAccountId()
S
81 1 3
Account\Account::setCollector()
S
81 1 3
Account\AccountDataFactory::sync()
S
79 1 3
Account\Account::isSigned()
S
82 1 3
Account\AccountDataFactory::syncData()
S
81 1 3
Inisev\Subs\Inisev_Carousel::_include()
S
78 1 3
Analyst\Cache\DatabaseCache::pop()
S
73 1 5
Account\Account::setPath()
S
77 1 4
Analyst\Notices\NoticeFactory::getNoticesForAccount()
S
73 1 5
Account\Account::setIsInstalled()
S
77 1 4
Analyst\Http\Requests\ActivateRequest::execute()
S
79 1 3
Analyst\Http\Requests\AbstractLoggerRequest::execute()
S
100 1 0
Analyst\Http\Requests\DeactivateRequest::make()
S
78 1 3
Analyst\Http\Requests\UninstallRequest::execute()
S
79 1 3
Analyst\Http\Requests\DeactivateRequest::execute()
S
79 1 3
Analyst\ApiResponse::__construct()
S
74 1 5
Analyst\ApiRequestor::resolveSignature()
S
70 1 5
Account\AccountData::setPath()
S
77 1 4
Analyst\Http\Requests\AbstractLoggerRequest::__construct()
S
74 1 5
Account\Account::getClientSecret()
S
82 1 3
Analyst\Http\Requests\OptInRequest::execute()
S
79 1 3
Inisev\Subs\Inisev_Carousel::upgrade_plugin()
S
68 1 7
Analyst\Notices\Notice::getId()
S
82 1 3
Account\Account::setIsInstallResolved()
S
77 1 4
Analyst\Notices\NoticeFactory::getNotices()
S
82 1 3
Account\Account::isAllowingLogging()
S
82 1 3
Account\Account::onSkipInstallListener()
S
77 1 4
Analyst\Notices\NoticeFactory::sync()
S
79 1 3
Analyst\Http\Requests\OptOutRequest::execute()
S
79 1 3
Analyst\Notices\Notice::getPluginName()
S
82 1 3
Analyst\ApiRequestor::resolveFullUrl()
S
78 1 3
Account\Account::getBasePluginPath()
S
82 1 3
Account\Account::__construct()
S
71 1 6
Account\AccountData::getId()
S
82 1 3
analyst_assets_path()
S
73 1 4
dd()
S
78 1 4
cdp_debug_function()
S
69 1 7
Account\Account::getCollector()
S
82 1 3
Analyst\Collector::getServerIp()
S
80 1 3
Account\AccountData::getSecret()
S
82 1 3
Analyst\Collector::getCurrentThemeName()
S
80 1 3
Analyst\Http\Requests\OptOutRequest::make()
S
79 1 3
Analyst\Mutator::registerHooks()
S
71 1 6
Analyst\Cache\DatabaseCache::put()
S
73 1 5
Analyst\Cache\DatabaseCache::sync()
S
79 1 3
Analyst\Http\CurlHttpClient::hasSupport()
S
80 1 3
Account\Account::onOptInListener()
S
70 1 6
Analyst\Http\Requests\ActivateRequest::make()
S
79 1 3
Analyst\Http\Requests\DeactivateRequest::toArray()
S
71 1 6
Analyst\Notices\Notice::getAccountId()
S
82 1 3
Analyst\Http\WordPressHttpClient::hasSupport()
S
80 1 3
Account\Account::getId()
S
82 1 3
Analyst\Http\Requests\UninstallRequest::make()
S
79 1 3
Analyst\Notices\Notice::__construct()
S
71 1 6
Analyst\Http\Requests\InstallRequest::make()
S
79 1 3
Analyst\Notices\Notice::setPluginName()
S
81 1 3
Account\Account::setIsOptedIn()
S
77 1 4
Analyst\Notices\Notice::make()
S
78 1 3
Account\Account::isOptedIn()
S
82 1 3
Analyst\Http\Requests\InstallRequest::execute()
S
79 1 3
Account\AccountData::getPath()
S
82 1 3
Analyst\Collector::getSiteLanguage()
S
81 1 3
Analyst\Mutator::registerAssets()
S
70 1 6
Account\Account::setIsSigned()
S
77 1 4
Analyst\Http\CurlHttpClient::prepareRequestHeaders()
S
72 1 5
Analyst\Http\Requests\DeactivateRequest::__construct()
S
72 1 5
Analyst\Analyst::initialize()
S
75 1 5
Inisev\Subs\Inisev_Carousel::_asset()
S
79 1 3
Analyst\Notices\Notice::setId()
S
81 1 3
Analyst\Http\Requests\OptInRequest::make()
S
79 1 3
Account\AccountData::setIsSigned()
S
81 1 3
Analyst\Collector::getPluginName()
S
75 1 4
Account\AccountData::setIsInstallResolved()
S
81 1 3
Account\Account::getRequestor()
S
82 1 3
Analyst\Http\DummyHttpClient::hasSupport()
S
81 1 3
Analyst\Notices\Notice::getBody()
S
82 1 3
Analyst\Collector::getPHPVersion()
S
81 1 3
Analyst\Mutator::initialize()
S
75 1 5
Analyst\Http\DummyHttpClient::request()
S
79 1 3
Analyst\Collector::getWordPressVersion()
S
78 1 4