Code Analysis: GDPR Cookie Consent Banner 2.4

Function Rating Maintainability Complexity Lines of code
CTCC_Public::add_notification_bar()
B
34 18 94
ctcc_customize_register()
A
28
1 222
CTCC_Public::add_js()
A
43 11 57
CTCC_Public::add_css()
A
38 9 86
ctcc_plugin_update_message()
A
43 11 45
CTCC_Metafield::save_metabox_data()
A
50 11 29
CTCC_Admin::register_styles_init()
A
36 2 112
CTCC_Admin::get_default_styles_settings()
A
47 7 37
CTCC_Admin::options_page()
S
45 6 45
CTCC_Admin::register_options_init()
S
40 2 77
CTCC_Admin::register_content_init()
S
43 2 63
CTCC_Admin::sanitize_content()
S
59 5 15
CTCC_Metafield::metabox_checkbox_output()
S
54 4 22
CTCC_Metafield::meta_box_callback()
S
62 4 12
CTCC_Public::show_bar()
S
61 4 12
ctcc_admin_notice()
S
54 3 21
ctcc_create_policy_page()
S
54 3 21
CTCC_Public::enqueue_scripts()
S
54 3 20
CTCC_Public::body_class()
S
64 4 9
CTCC_Admin::more_info_page_render()
S
60 3 14
CTCC_Admin::get_default_content_settings()
S
52 2 25
CTCC_Admin::exclude_zones_render()
S
56 2 18
CTCC_Metafield::add_meta_box()
S
60 2 14
CTCC_Admin::add_js()
S
66 2 11
CTCC_Metafield::metaboxes()
S
55 1 22
ctcc_disable_auto_update_plugins()
S
69 2 7
CTCC_Admin::get_default_options_settings()
S
61 1 13
CTCC_Admin::position_render()
S
60 1 13
CTCC_Admin::closure_render()
S
63 1 11
CTCC_Public::init()
S
68 1 7
CTCC_Admin::button_color_render()
S
70 1 6
CTCC_Metafield::__construct()
S
91 1 2
CTCC_Metafield::init()
S
75 1 4
CTCC_Admin::container_class_render()
S
70 1 6
CTCC_Admin::add_admin_menu()
S
77 1 3
CTCC_Admin::save_registered_setting()
S
72 1 5
CTCC_Admin::first_page_render()
S
69 1 6
CTCC_Admin::enqueue_styles_render()
S
69 1 6
CTCC_Admin::rounded_corners_render()
S
69 1 6
CTCC_Admin::drop_shadow_render()
S
69 1 6
CTCC_Admin::display_accept_with_text_render()
S
69 1 6
CTCC_Admin::button_bg_color_render()
S
70 1 6
CTCC_Admin::cookie_version_render()
S
70 1 6
ctcc_load_plugin_textdomain()
S
78 1 3
CTCC_Admin::flat_button_render()
S
69 1 6
CTCC_Public::__construct()
S
91 1 2
CTCC_Admin::x_close_render()
S
69 1 6
CTCC_Admin::content_settings_section_callback()
S
74 1 4
CTCC_Admin::styles_settings_section_callback()
S
74 1 4
CTCC_Admin::enqueue_scripts()
S
72 1 5
CTCC_Admin::notification_text_render()
S
70 1 6
CTCC_Admin::more_info_text_render()
S
70 1 6
CTCC_Admin::more_info_url_render()
S
70 1 6
CTCC_Admin::text_color_render()
S
70 1 6
CTCC_Admin::link_color_render()
S
70 1 6
CTCC_Admin::__construct()
S
91 1 2
CTCC_Admin::init()
S
65 1 9
CTCC_Admin::cookie_expiry_render()
S
70 1 6
CTCC_Admin::bg_color_render()
S
70 1 6
CTCC_Admin::heading_text_render()
S
70 1 6
CTCC_Admin::opt_out_render()
S
69 1 6
CTCC_Admin::duration_render()
S
70 1 6
CTCC_Admin::pages_settings_section_callback()
S
74 1 4
ctcc_disable_auto_update_plugins_list()
S
76 1 4
CTCC_Admin::settings_section_callback()
S
74 1 4
CTCC_Admin::accept_text_render()
S
70 1 6
CTCC_Admin::more_info_target_render()
S
65 1 9
CTCC_Admin::scroll_height_render()
S
70 1 6
CTCC_Admin::enable_metafield_render()
S
69 1 6