Code Analysis: Cookie Notice & Compliance for GDPR / CCPA 2.4.11.1

Function Rating Maintainability Complexity Lines of code
Cookie_Notice_Welcome_API::api_request()
D
0
151 597
Cookie_Notice_Settings::validate_options()
D
14
84 240
Cookie_Notice_Bot_Detect::get_crawlers_list()
D
2
1 1,403
Cookie_Notice_Welcome::welcome_screen()
D
11
27 550
Cookie_Notice_Frontend::check_conditions()
D
36 54 50
Cookie_Notice_Welcome_API::request()
D
23
32 209
Cookie_Notice::update_notice()
D
33 40 70
cn_is_plugin_active()
D
44 40 27
Cookie_Notice_Welcome_API::get_app_config()
C
35 30 70
Cookie_Notice_Frontend::add_cookie_notice()
C
33 27 76
Cookie_Notice_Settings::options_page()
C
30 24 120
Cookie_Notice::multi_array_merge()
C
43 27 41
Cookie_Notice_Dashboard::admin_scripts_styles()
C
30 21 120
Cookie_Notice_Dashboard::widget_item_content()
B
34 21 85
Cookie_Notice_Frontend::get_cc_options()
B
44 21 37
Cookie_Notice_Welcome_API::get_app_analytics()
B
41 19 49
Cookie_Notice::plugin_action_links()
B
46 20 30
Cookie_Notice_Settings::prepare_values()
B
42 16 48
cn_get_active_caching_plugins()
A
45 15 44
Cookie_Notice_Consent_Logs::get_consent_logs_table()
A
40 13 58
Cookie_Notice_Settings::register_settings()
A
36 12 70
Cookie_Notice::ajax_dismiss_admin_notice()
A
46 13 36
Cookie_Notice::cookies_policy_link_shortcode()
A
46 13 32
Cookie_Notice_Settings::display_options_sidebar()
A
37 10 77
Cookie_Notice_Settings::cn_see_more()
A
38 10 70
Cookie_Notice_Settings::load_defaults()
A
30 6 130
Cookie_Notice::__construct()
A
45 11 39
Cookie_Notice_Welcome_API::check_cron()
A
51 11 25
Cookie_Notice_Dashboard::wp_dashboard_setup()
A
49 10 30
Cookie_Notice_Settings::validate_network_options()
A
49 10 29
Cookie_Notice::set_status_data()
A
48 9 36
Cookie_Notice_Welcome::welcome()
A
55 10 16
Cookie_Notice_Frontend::init()
A
50 9 27
Cookie_Notice_Dashboard::dashboard_widget()
A
42 7 54
Cookie_Notice_Frontend::wp_enqueue_notice_scripts()
A
50 9 23
Cookie_Notice_Consent_Logs_List_Table::prepare_items()
A
51 9 22
Cookie_Notice::get_url()
A
56 9 17
Cookie_Notice::update_legacy_options()
A
49 8 30
Cookie_Notice_Settings::conditional_display()
A
40 4 78
Cookie_Notice_Frontend::early_init()
S
58 8 15
Cookie_Notice_Settings::check_rule()
S
50 7 29
Cookie_Notice::deactivate_plugin()
S
50 7 28
Cookie_Notice_Consent_Logs_List_Table::usort_reorder()
S
58 8 13
Cookie_Notice::cookies_accepted()
S
60 8 11
Cookie_Notice_Settings::cn_refuse_code()
S
51 7 23
Cookie_Notice_Settings::cn_app_status()
S
43 5 50
Cookie_Notice_Consent_Logs::get_consent_logs_by_date()
S
55 7 18
Cookie_Notice::cookies_revoke_shortcode()
S
54 7 17
Cookie_Notice_Frontend::get_custom_items()
S
58 7 15
Cookie_Notice_Settings::get_pages()
S
49 6 29
Cookie_Notice::deactivation()
S
54 6 20
Cookie_Notice_Settings::admin_enqueue_scripts()
S
53 6 19
Cookie_Notice_Frontend::is_preview_mode()
S
74 7 3
Cookie_Notice_Frontend::hex2rgb()
S
57 6 15
Cookie_Notice_Frontend::purge_cache()
S
60 6 13
Cookie_Notice_Welcome::admin_enqueue_scripts()
S
44 4 41
Cookie_Notice::set_network_data()
S
65 6 7
Cookie_Notice_Modules_AMP::load_amp_consent()
S
49 3 44
Cookie_Notice_Frontend::maybe_display_banner()
S
61 5 12
Cookie_Notice_Bot_Detect::set_user_agent()
S
61 5 12
Cookie_Notice::deactivate_plugin_template()
S
46 3 40
Cookie_Notice_Welcome_API::get_consent_logs_by_date()
S
55 4 20
Cookie_Notice_Settings::cn_caching_compatibility()
S
54 4 18
Cookie_Notice_Settings::cn_conditional_display()
S
48 3 33
Cookie_Notice::activation()
S
58 4 15
Cookie_Notice_Bot_Detect::set_http_headers()
S
64 5 9
Cookie_Notice_Modules_Autoptimize::exclude()
S
58 4 15
Cookie_Notice_Modules_WPFastestCache::delete_cache()
S
67 5 7
Cookie_Notice_Dashboard::timezone_string()
S
57 4 15
Cookie_Notice_Frontend::change_body_class()
S
61 4 13
Cookie_Notice_Settings::cn_global_cookie()
S
59 4 12
Cookie_Notice::check_legacy_options()
S
61 4 12
Cookie_Notice_Settings::ajax_purge_cache()
S
61 4 12
Cookie_Notice_Welcome_Frontend::preview_init()
S
60 4 12
Cookie_Notice_Bot_Detect::is_crawler()
S
61 4 11
Cookie_Notice::cookies_accepted_shortcode()
S
62 4 11
Cookie_Notice_Bot_Detect::get_exclusions_list()
S
44 1 54
Cookie_Notice_Settings::cn_revoke_opt()
S
53 3 19
Cookie_Notice_Settings::register_wpml_strings()
S
54 3 19
Cookie_Notice_Settings::get_post_type_archives()
S
57 3 18
Cookie_Notice_Settings::get_post_types()
S
58 3 17
Cookie_Notice_Settings::submenu_file()
S
65 4 8
Cookie_Notice_Welcome::allow_protocols()
S
67 4 7
Cookie_Notice::display_notice()
S
62 4 10
Cookie_Notice_Modules_WPFastestCache::check_wpfc()
S
64 4 9
Cookie_Notice::deactivate_site()
S
61 3 13
Cookie_Notice_Frontend::sanitize_field()
S
63 3 12
Cookie_Notice_Settings::cn_on_scroll()
S
61 3 11
Cookie_Notice::admin_enqueue_scripts()
S
54 2 20
Cookie_Notice_Consent_Logs_List_Table::fill_missing_dates()
S
54 2 20
Cookie_Notice_Settings::cn_colors()
S
55 2 19
Cookie_Notice_Dashboard::widget_item()
S
58 2 16
Cookie_Notice::instance()
S
58 2 16
Cookie_Notice()
S
70 3 6
Cookie_Notice_Settings::load_modules()
S
70 3 6
Cookie_Notice_Settings::admin_menu_options()
S
63 3 8
Cookie_Notice::check_subscription()
S
72 3 4
Cookie_Notice_Settings::cn_app_blocking()
S
62 3 9
Cookie_Notice_Settings::cn_amp_support()
S
64 3 8
Cookie_Notice_Dashboard::test_cookie_compliance()
S
58 2 15
Cookie_Notice::check_status()
S
72 3 4
Cookie_Notice_Settings::get_group_rule_values()
S
63 3 10
Cookie_Notice_Modules_WPFastestCache::check_updated_option()
S
75 3 4
Cookie_Notice_Bot_Detect::init()
S
68 3 7
Cookie_Notice_Frontend::wp_print_footer_scripts()
S
65 3 8
Cookie_Notice_Welcome_Frontend::get_allowed_urls()
S
69 3 6
Cookie_Notice_Frontend::wp_print_header_scripts()
S
65 3 8
Cookie_Notice_Modules_AMP::handle_iframe()
S
68 3 7
Cookie_Notice::add_notice()
S
63 3 9
Cookie_Notice_Settings::cn_refuse_opt()
S
59 2 13
Cookie_Notice_Modules_AMP::generate_iframe_html()
S
51 1 28
Cookie_Notice_Settings::cn_time()
S
60 2 13
Cookie_Notice_Settings::cn_time_rejected()
S
60 2 13
Cookie_Notice_Welcome_Frontend::wp_enqueue_scripts()
S
59 2 13
Cookie_Notice_Modules_ContactForm7::contact_form_7_recaptcha()
S
53 1 28
Cookie_Notice::get_allowed_html()
S
53 1 27
Cookie_Notice_Settings::cn_hide_effect()
S
61 2 11
Cookie_Notice_Settings::cn_script_placement()
S
61 2 11
Cookie_Notice_Settings::cn_position()
S
61 2 11
Cookie_Notice_Welcome_Frontend::wp_head_scripts()
S
57 1 18
Cookie_Notice_Settings::prepare_parameters()
S
66 2 7
Cookie_Notice::wpsc_add_cookie()
S
70 2 6
Cookie_Notice_Settings::prepare_operators()
S
66 2 7
Cookie_Notice_Bot_Detect::get_matches()
S
78 2 3
Cookie_Notice_Modules_ContactForm7::__construct()
S
72 2 5
Cookie_Notice_Modules_AMP::add_subdomain_to_url()
S
65 2 8
Cookie_Notice::wpsc_delete_cookie()
S
70 2 6
Cookie_Notice_Consent_Logs_List_Table::column_cb()
S
67 2 7
Cookie_Notice::cookies_set()
S
67 2 7
Cookie_Notice_Settings::settings_errors()
S
71 2 6
Cookie_Notice::is_cookie_policy_page()
S
66 2 7
Cookie_Notice_Frontend::wp_enqueue_script_async()
S
72 2 5
Cookie_Notice_Welcome::init()
S
60 1 14
Cookie_Notice_Bot_Detect::get_headers_list()
S
62 1 14
Cookie_Notice_Settings::__construct()
S
59 1 14
Cookie_Notice_Settings::admin_print_styles()
S
69 1 12
Cookie_Notice_Consent_Logs::get_single_row_template()
S
70 1 11
Cookie_Notice_Consent_Logs_List_Table::get_columns()
S
62 1 11
Cookie_Notice::includes()
S
63 1 11
Cookie_Notice_Settings::cn_deactivation_delete()
S
69 1 6
Cookie_Notice::get_subscription()
S
80 1 3
cn_cookies_accepted()
S
81 1 3
Cookie_Notice_Settings::cn_app_purge_cache()
S
67 1 9
Cookie_Notice_Settings::allow_style_attributes()
S
77 1 4
Cookie_Notice_Modules_AMP::__construct()
S
71 1 5
Cookie_Notice_Welcome::admin_footer()
S
82 1 3
Cookie_Notice_Welcome::allow_style_attributes()
S
77 1 4
Cookie_Notice_Dashboard::__construct()
S
69 1 6
Cookie_Notice::is_network_admin()
S
82 1 3
Cookie_Notice_Settings::get_user_types()
S
70 1 6
Cookie_Notice_Modules_WPFastestCache::__construct()
S
78 1 3
Cookie_Notice::__wakeup()
S
98 1 1
Cookie_Notice::set_plugin_links()
S
74 1 4
Cookie_Notice_Bot_Detect::get_exclusions()
S
78 1 3
Cookie_Notice::load_textdomain()
S
78 1 3
Cookie_Notice::threshold_exceeded()
S
80 1 3
Cookie_Notice_Modules_SGOptimizer::__construct()
S
75 1 4
Cookie_Notice::define_constants()
S
77 1 6
Cookie_Notice_Settings::cn_network_section()
S
75 1 4
Cookie_Notice_Welcome_Frontend::is_cross_domain()
S
72 1 5
Cookie_Notice_Frontend::allow_style_attributes()
S
77 1 4
Cookie_Notice_Modules_Autoptimize::__construct()
S
79 1 3
Cookie_Notice_Bot_Detect::get_regex()
S
78 1 3
Cookie_Notice_Consent_Logs_List_Table::column_default()
S
79 1 3
Cookie_Notice_Frontend::add_cookie_compliance()
S
76 1 4
Cookie_Notice_Consent_Logs::admin_enqueue_scripts()
S
69 1 6
Cookie_Notice::register_shortcodes()
S
72 1 5
Cookie_Notice_Settings::cn_app_id()
S
68 1 7
Cookie_Notice_Modules_WPRocket::exclude_code()
S
77 1 4
Cookie_Notice_Modules_LiteSpeedCache::exclude_js()
S
73 1 5
Cookie_Notice_Bot_Detect::__construct()
S
72 1 5
Cookie_Notice_Settings::cn_accept_text()
S
68 1 7
Cookie_Notice_Settings::cn_redirection()
S
69 1 6
Cookie_Notice_Settings::cn_debug_mode()
S
69 1 6
Cookie_Notice_Settings::get_page_types()
S
70 1 6
Cookie_Notice_Modules_Elementor::__construct()
S
79 1 3
Cookie_Notice_Settings::cn_on_click()
S
69 1 6
Cookie_Notice_Modules_WPRocket::__construct()
S
75 1 4
Cookie_Notice_Welcome_Frontend::wp_dequeue_scripts()
S
81 1 3
Cookie_Notice_Bot_Detect::get_ua_http_headers()
S
82 1 3
Cookie_Notice_Welcome::__construct()
S
70 1 6
Cookie_Notice_Frontend::get_cc_output()
S
68 1 7
Cookie_Notice_Consent_Logs::get_error_template()
S
78 1 3
Cookie_Notice::__clone()
S
98 1 1
Cookie_Notice_Modules_WPRocket::exclude_script()
S
76 1 4
Cookie_Notice_Modules_Elementor::is_preview_mode()
S
80 1 3
Cookie_Notice_Settings::cn_app_key()
S
68 1 7
Cookie_Notice::activate_site()
S
71 1 5
Cookie_Notice_Modules_WPSuperCache::__construct()
S
91 1 2
Cookie_Notice_Frontend::__construct()
S
75 1 4
Cookie_Notice::get_status()
S
80 1 3
Cookie_Notice_Consent_Logs_List_Table::no_items()
S
79 1 3
Cookie_Notice_Modules_SGOptimizer::exclude_code()
S
77 1 4
Cookie_Notice_Settings::cn_global_override()
S
67 1 7
Cookie_Notice_Consent_Logs::__construct()
S
75 1 4
Cookie_Notice_Welcome_API::__construct()
S
69 1 6
Cookie_Notice_Consent_Logs_List_Table::get_bulk_actions()
S
82 1 3
Cookie_Notice_Settings::cn_css_class()
S
68 1 7
Cookie_Notice_Welcome::allow_data_protocol()
S
77 1 4
Cookie_Notice_Modules_LiteSpeedCache::__construct()
S
75 1 4
Cookie_Notice_Consent_Logs_List_Table::get_sortable_columns()
S
66 1 9
Cookie_Notice_Dashboard::add_tests()
S
68 1 7
Cookie_Notice_Modules_WPFastestCache::disable_preload()
S
70 1 6
Cookie_Notice::get_api_key()
S
82 1 3
Cookie_Notice::is_plugin_network_active()
S
82 1 3
Cookie_Notice_Settings::cn_message_text()
S
68 1 7
cn_cookies_set()
S
81 1 3
Cookie_Notice_Welcome_Frontend::__construct()
S
78 1 3
Cookie_Notice_Settings::get_analytics_app_data()
S
82 1 3
Cookie_Notice_Bot_Detect::get_user_agent()
S
82 1 3
Cookie_Notice_Consent_Logs_List_Table::single_row()
S
68 1 7
Cookie_Notice_Modules_SGOptimizer::exclude_script()
S
76 1 4