Code Analysis: Duplicate Post 1.2.8

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