Code Analysis: Duplicate Post 1.4.8

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