Code Analysis: Cookie and Consent Solution for the GDPR & ePrivacy 3.2.2

Function Rating Maintainability Complexity Lines of code
iubenda_Forms::get_source_forms()
D
13
65 329
simple_html_dom_node::seek()
D
23
64 152
simple_html_dom::read_tag()
D
21
58 185
iubenda_Settings::process_actions()
D
27
48 110
iubendaParser::parse_scripts()
D
24
35 185
QuickGeneratorService::cs_save_options()
D
29 38 109
iubenda_Forms::save_form()
D
34 37 76
simple_html_dom::parse_charset()
C
34 27 93
iubenda::output_callback()
C
37 28 59
simple_html_dom_node::parse_selector()
C
39 28 58
CookieSolutionGenerator::handle()
C
33 24 96
IubendaLegalWidget::widget()
B
44 24 37
iubenda_Settings::load_defaults()
B
22
9 256
iubendaParser::parse_iframes()
B
36 19 78
iubenda_List_Table_Forms::print_column_headers()
B
38 20 61
iubenda_Settings::init_prepare_product_options_while_upgrading()
B
41 19 53
iubenda_Settings::init_prepare_product_options()
B
41 19 53
iubenda::wp_head_cs()
B
41 18 53
iubendaPage::parse_scripts()
B
34 14 107
iubenda_Settings::options_page()
B
38 16 67
iubenda::parse_configuration()
B
43 17 47
simple_html_dom_node::outertext()
B
44 17 41
iubenda_AMP::wp_footer_amp()
A
44 16 44
iubendaParser::parse_comments()
A
44 16 40
iubenda_AMP::get_amp_template_url()
A
46 16 32
QuickGeneratorService::ajax_save_options()
A
40 14 60
simple_html_dom_node::get_display_size()
A
44 14 47
iubenda_Forms::prepare_data_for_wp_forms()
A
44 14 39
iubenda_Forms::get_forms()
A
42 13 51
iubendaParser::__construct()
A
47 14 33
simple_html_dom_node::find()
A
47 14 33
iubenda_Forms::prepare_mapped_forms()
A
45 13 42
iubenda_Settings::save_init_prepared_product_options()
A
50 14 26
iubenda_Forms::autodetect_forms()
A
45 13 39
iubenda_Settings::maybe_show_notice()
A
45 13 38
QuickGeneratorService::get_mapped_language_on_local()
A
49 13 32
simple_html_dom_node::is_utf8()
A
50 13 25
simple_html_dom_node::convert_text()
A
47 12 38
iub_array_get()
A
53 13 22
iubenda_List_Table_Forms::get_views()
A
45 12 36
iubenda_List_Table_Forms::column_default()
A
46 12 34
iubenda_Settings::services_option()
A
38 9 75
simple_html_dom_node::text()
A
51 12 25
simple_html_dom::parse_attr()
A
48 11 32
simple_html_dom_node::dump_node()
A
45 10 44
iubenda_Settings::update_plugin()
A
45 10 41
simple_html_dom_node::match()
A
50 11 25
iubenda_AMP::wp_head_amp()
A
52 11 22
iubenda::init()
A
48 10 31
iubenda_Settings::update_options()
A
48 10 30
iubendaParser::create_tags()
A
46 9 38
iubenda::language_unification_locale_to_iub()
A
49 9 33
QuickGeneratorService::quick_generator_api()
A
44 8 44
iubenda_Settings::add_notice()
A
58 10 13
RadarService::send_radar_progress_request()
A
44 8 42
iubenda_Settings::dismiss_notification_alert()
A
52 9 23
QuickGeneratorService::update_button_style()
A
52 9 21
iubenda::domain()
A
48 8 36
IubendaLegalBlock::iub_legal_block_html()
A
56 9 17
simple_html_dom_node::makeup()
A
49 8 31
iubenda::maybe_do_upgrade()
A
57 9 15
IubendaLegalWidget::display_callback()
A
51 8 26
simple_html_dom_node::removeChild()
A
53 8 22
iubendaPage::parse_iubenda_comments()
A
54 8 19
iubendaParser::get_iframe_tags()
A
56 8 19
iubendaParser::get_script_tags()
A
56 8 19
iubenda::regenerate_amp_templates()
A
55 8 19
RadarService::check_response()
A
55 8 18
iubenda_List_Table_Forms::prepare_items()
A
48 7 31
iubendaParser::consent_given()
A
56 8 16
iubendaParser::strpos_array()
A
56 8 16
iubenda::__construct()
S
47 7 30
iubenda_Settings::check_embed_code()
S
58 8 14
simple_html_dom::clear()
S
54 7 24
iubendaParser::skip_tags()
S
53 7 22
simple_html_dom_node::addClass()
S
54 7 22
iubendaFaster::isParse()
S
47 6 36
IubendaLegalBlock::change_pre_registered_default_footer_content()
S
54 7 21
iubenda_AMP::prepare_amp_template()
S
42 4 64
simple_html_dom::restore_noise()
S
49 6 32
iubenda::parse_code()
S
55 7 17
iubendaFaster::parse_iubenda_comments()
S
55 7 17
LanguageHelper::get_user_profile_language_code()
S
58 7 15
iubenda_Forms::process_entry_for_wp_forms()
S
49 6 29
LanguageHelper::get_default_website_language_code()
S
58 7 14
iubenda::disable_jetpack_tracking()
S
60 7 12
ProductHelper::check_pp_tc_status_and_position()
S
60 7 11
iubenda_AMP::fix_analytics_wp_amp()
S
60 7 11
simple_html_dom::remove_noise()
S
52 6 23
iubenda_Forms::get_form()
S
53 6 23
simple_html_dom_node::removeClass()
S
56 6 20
simple_html_dom_node::find_ancestor_tag()
S
56 6 18
QuickGeneratorService::integrate_setup()
S
56 6 17
QuickGeneratorService::pp_button()
S
56 6 17
simple_html_dom_node::__set()
S
56 6 17
GoogleTagManagerListener::handle()
S
58 6 16
simple_html_dom_node::dump()
S
57 6 16
iubendaFaster::create_tags()
S
50 5 30
iubendaPage::create_tags()
S
50 5 30
simple_html_dom::__get()
S
61 6 14
iubendaParser::get_purposes()
S
58 6 14
iubenda::wp_head_cons()
S
51 5 27
simple_html_dom_node::__get()
S
61 6 12
ProductHelper::get_local_supported_language()
S
61 6 11
iubenda_List_Table_Forms::handle_row_actions()
S
50 5 25
iubendaPage::parse_iframe()
S
52 5 23
simple_html_dom::__construct()
S
56 5 20
iubenda_Settings::dismiss_notice()
S
55 5 18
iubenda::find_closing_bracket()
S
58 5 16
iubenda::set_transient_flag_on_plugin_upgrade()
S
62 6 10
ServiceRating::check_service_status()
S
60 5 15
iubendaPage::strpos_array()
S
60 5 14
iubenda_List_Table_Forms::sources_dropdown()
S
57 5 14
iubendaFaster::isBlack()
S
63 5 11
ProductHelper::check_iub_code_exists_current_lang()
S
61 5 11
iubenda_AMP::generate_amp_template()
S
60 5 11
QuickGeneratorService::pp_save_options()
S
51 4 25
IubendaLegalBlock::get_footer_from_database()
S
52 4 25
file_get_html()
S
53 4 24
iubenda_Forms::get_form_by_object_id()
S
53 4 24
iubenda_Forms::init()
S
56 4 18
simple_html_dom::parse()
S
58 4 15
QuickGeneratorService::add_footer()
S
65 5 8
iubendaParser::recursive_array_search()
S
63 5 10
simple_html_dom_node::__isset()
S
66 5 8
iubenda_Settings::admin_inline_js()
S
50 2 45
PrivacyPolicyGenerator::handle()
S
59 4 14
simple_html_dom::copy_until_char()
S
59 4 14
simple_html_dom_node::innertext()
S
61 4 13
QuickGeneratorService::plugin_settings_save_options()
S
59 4 13
iubenda::parse_tc_pp_configuration()
S
59 4 13
iubenda::plugin_action_links()
S
59 4 12
simple_html_dom_node::hasClass()
S
61 4 12
IubendaLegalBlock::insert_iub_block_shortcode_into_footer_by_dom()
S
51 3 26
iubenda_Forms::iub_array_dot()
S
62 4 11
iubenda_AMP::fix_analytics_amp_for_wp()
S
62 4 11
iubenda_Settings::notice_count()
S
62 4 11
simple_html_dom::load()
S
52 3 24
iubenda_Settings::admin_enqueue_scripts()
S
52 3 22
RadarService::send_radar_sync_request()
S
52 3 21
simple_html_dom::prepare()
S
55 3 19
iubenda_Forms::wp_enqueue_scripts()
S
56 3 19
iubenda::upgrading_to_ver_3_process()
S
56 3 18
iubenda_Settings::__construct()
S
47 2 33
iubenda_List_Table_Forms::extra_tablenav()
S
58 3 17
iubenda::instance()
S
58 3 16
str_get_html()
S
59 3 16
simple_html_dom::search_noise()
S
65 4 9
simple_html_dom_node::next_sibling()
S
63 4 10
simple_html_dom_node::prev_sibling()
S
63 4 10
iubenda_Forms::delete_form()
S
63 4 10
ProductHelper::get_public_id_for_current_language()
S
65 4 8
iubenda_AMP::amp_post_template_data()
S
63 4 10
GoogleAnalyticsListener::unblock_script()
S
59 3 14
GoogleTagManagerListener::unblock_script()
S
59 3 14
iubenda_Forms::register_post_status()
S
60 3 14
__iub_trans()
S
61 3 12
GoogleAnalyticsListener::handle()
S
63 3 11
iubenda_Settings::check_site_is_already_made_setup()
S
62 3 11
ServiceRating::rating_calculation_components()
S
53 2 24
iubenda::deactivation()
S
56 2 20
ServiceRating::is_service_detected_or_installed_by_radar()
S
70 3 6
iubenda_Settings::toggle_services()
S
58 2 15
IubendaLegalBlock::check_iub_block_shortcode_exists_in_the_footer()
S
69 3 7
IubendaLegalWidget::assign_iubenda_widget()
S
64 3 10
QuickGeneratorService::tc_button_shortcode()
S
69 3 6
IubendaLegalBlock::attach_legal_block_into_footer()
S
67 3 9
simple_html_dom::copy_skip()
S
65 3 8
iubenda::check_if_we_support_current_theme_to_attach_legal()
S
71 3 6
QuickGeneratorService::pp_button_shortcode()
S
69 3 6
ServiceRating::is_privacy_policy_activated()
S
66 3 9
iubenda()
S
70 3 6
iubenda::assign_legal_block_or_widget()
S
69 3 8
iubenda_Settings::has_notices()
S
65 3 9
iubenda::upgrade()
S
72 3 5
IubendaLegalBlock::detach_legal_block_from_footer()
S
67 3 9
IubendaLegalBlock::iub_delete_in_between()
S
64 3 9
iubenda_Settings::is_not_empty()
S
71 3 6
iubendaParser::array_merge_custom()
S
65 3 9
iubenda::do_upgrade_processes()
S
70 3 6
iubenda::output_end()
S
76 3 4
iubenda::file_exists()
S
66 3 8
ProductHelper::get_languages()
S
70 3 6
ServiceRating::is_cookie_solution_activated()
S
66 3 9
ServiceRating::is_cookie_solution_automatically_parse_enabled()
S
66 3 9
ServiceRating::is_terms_conditions_activated()
S
66 3 9
QuickGeneratorService::tc_button()
S
65 3 8
iubendaParser::run_observers()
S
63 3 10
simple_html_dom_node::children()
S
66 3 9
iubendaPage::consent_given()
S
66 3 8
iubenda::prepare_custom_data()
S
65 3 9
iubenda_Settings::print_notices()
S
65 3 9
iubenda_add_plugin_meta_links()
S
60 2 14
iubenda_Settings::show_notice()
S
54 1 29
QuickGeneratorService::save_public_api_key()
S
61 2 12
IubendaLegalWidget::form()
S
62 2 12
iubenda_Settings::admin_menu_options()
S
62 2 11
iubenda::get_allowed_html()
S
53 1 25
iubendaPage::print_banner()
S
62 1 21
iubendaParser::print_banner()
S
64 1 17
IubendaLegalBlock::insert_default_footer_into_database()
S
58 1 16
simple_html_dom_node::remove()
S
75 2 5
iubenda::compare_iub_plugin_versions()
S
74 2 4
IubendaLegalWidget::update()
S
71 2 5
simple_html_dom_node::__unset()
S
79 2 3
iubenda_AMP::amp_post_template_css()
S
70 2 6
ServiceRating::is_service_detected_by_radar()
S
69 2 6
IubendaLegalBlock::force_append_legal_block_in_footer()
S
68 2 8
ServiceRating::services_percentage()
S
67 2 7
simple_html_dom::skip()
S
73 2 4
IubendaLegalWidget::check_current_theme_supports_widget()
S
69 2 7
QuickGeneratorService::stripslashes_deep()
S
71 2 6
iubenda::check_iubenda_version()
S
73 2 6
simple_html_dom_node::save()
S
69 2 7
IubendaLegalBlock::check_current_theme_supports_blocks()
S
69 2 7
iubenda_Settings::array_map_callback()
S
73 2 5
iubendaPage::bot_detected()
S
77 2 3
simple_html_dom::as_text_node()
S
65 2 8
iubenda_Settings::return_alert()
S
69 2 5
ProductHelper::get_cs_embed_code_by_lang()
S
67 2 7
iubendaParser::bot_detected()
S
77 2 3
simple_html_dom::link_nodes()
S
69 2 7
IubendaLegalBlock::force_detach_legal_block_from_footer()
S
70 2 7
simple_html_dom::save()
S
72 2 5
RadarService::__construct()
S
75 2 4
simple_html_dom_node::parent()
S
68 2 8
RadarService::calculate_radar_percentage()
S
63 2 10
RadarService::ask_radar_to_send_request()
S
71 2 6
ServiceRating::is_service_installed_by_radar()
S
69 2 6
ServiceRating::__construct()
S
78 2 3
QuickGeneratorService::__construct()
S
78 2 3
simple_html_dom_node::last_child()
S
72 2 6
simple_html_dom::load_file()
S
67 2 8
iubendaParser::set_purpose()
S
72 2 5
iubenda::output_start()
S
75 2 4
simple_html_dom::copy_until()
S
67 2 7
simple_html_dom_node::first_child()
S
72 2 6
IubendaLegalWidget::get_settings()
S
69 2 7
iubenda::includes()
S
60 1 14
iubenda_Forms::register_post_type()
S
62 1 12
iubenda_Settings::admin_print_styles()
S
69 1 12
iubenda_List_Table_Forms::display_tablenav()
S
67 1 11
QuickGeneratorService::prepare_custom_scripts_iframes()
S
71 1 6
simple_html_dom::__destruct()
S
83 1 3
GoogleAnalyticsListener::__construct()
S
77 1 4
simple_html_dom_node::clear()
S
72 1 6
simple_html_dom::lastChild()
S
82 1 3
simple_html_dom_node::nextSibling()
S
82 1 3
simple_html_dom_node::appendChild()
S
77 1 4
iubenda_List_Table_Forms::get_columns()
S
64 1 10
ProductHelper::get_pp_embed_code_by_lang()
S
79 1 3
iubenda::block_shortcode()
S
79 1 3
simple_html_dom::getElementByTagName()
S
80 1 3
IubendaLegalBlock::check_iub_block_shortcode_exists_in_the_footer_content()
S
78 1 3
simple_html_dom_node::getElementByTagName()
S
80 1 3
iubenda_Settings::iubdena_hide_notices_wp()
S
100 1 9
IubendaLegalBlock::remove_iub_block_shortcode_from_footer()
S
71 1 5
simple_html_dom::createTextNode()
S
80 1 3
iubenda_List_Table_Forms::no_items()
S
79 1 3
IubendaLegalBlock::attach_legal_block_into_block_area()
S
64 1 9
dump_html_tree()
S
82 1 3
simple_html_dom_node::__toString()
S
82 1 3
iubendaPage::parse()
S
75 1 5
iubenda::activation()
S
63 1 10
simple_html_dom_node::getElementsByTagName()
S
80 1 3
simple_html_dom_node::getElementById()
S
79 1 3
iubenda::register_shortcode()
S
72 1 5
simple_html_dom_node::childNodes()
S
81 1 3
iubenda::update_iubenda_version()
S
79 1 3
simple_html_dom::getElementById()
S
79 1 3
iubenda::load_textdomain()
S
78 1 3
simple_html_dom_node::xmltext()
S
70 1 6
simple_html_dom_node::setAttribute()
S
80 1 3
iubendaParser::get_activate_classes()
S
80 1 3
ProductHelper::get_embed_code()
S
73 1 4
ProductHelper::check_iub_cs_code_exists_current_lang()
S
80 1 3
simple_html_dom_node::hasAttribute()
S
81 1 3
simple_html_dom::loadFile()
S
77 1 4
IubendaLegalBlock::update_the_footer_into_database()
S
80 1 3
simple_html_dom::find()
S
79 1 3
iubenda_List_Table_Forms::__construct()
S
68 1 7
IubendaLegalBlock::__construct()
S
69 1 6
simple_html_dom::getElementsByTagName()
S
80 1 3
simple_html_dom::getElementsById()
S
79 1 3
simple_html_dom::createElement()
S
78 1 3
IubendaLegalWidget::register_widget()
S
81 1 3
simple_html_dom_node::previousSibling()
S
82 1 3
simple_html_dom_node::getAllAttributes()
S
83 1 3
simple_html_dom_node::nodeName()
S
83 1 3
iubenda_Forms::mc4wp_integration_woocommerce_checkbox_attributes()
S
76 1 4
iubenda_Settings::get_frontpage_main_box()
S
76 1 4
iubenda::__clone()
S
79 1 3
simple_html_dom::__toString()
S
82 1 3
IubendaLegalBlock::register_shortcode()
S
79 1 3
iubenda::__wakeup()
S
79 1 3
iubenda_List_Table_Forms::get_sortable_columns()
S
71 1 6
simple_html_dom_node::lastChild()
S
82 1 3
iubenda::replace_the_callback_functions_to_parse_configuration()
S
69 1 6
simple_html_dom::set_callback()
S
82 1 3
iubendaPage::__construct()
S
77 1 4
simple_html_dom::remove_callback()
S
82 1 3
iubenda_List_Table_Forms::single_row()
S
66 1 9
simple_html_dom_node::parentNode()
S
82 1 3
simple_html_dom_node::__destruct()
S
83 1 3
simple_html_dom_node::__construct()
S
77 1 4
iubendaParser::parse()
S
72 1 6
simple_html_dom::dump()
S
82 1 3
iubendaPage::get_converted_page()
S
82 1 3
RadarService::force_delete_radar_configuration()
S
77 1 4
IubendaLegalBlock::render_iub_legal_block()
S
68 1 7
simple_html_dom_node::getAttribute()
S
81 1 3
iubenda_List_Table_Forms::get_default_primary_column_name()
S
82 1 3
simple_html_dom_node::hasChildNodes()
S
82 1 3
ProductHelper::get_tc_embed_code_by_lang()
S
79 1 3
QuickGeneratorService::add_amp_permission_error()
S
68 1 6
QuickGeneratorService::auto_detect_forms()
S
74 1 5
simple_html_dom_node::firstChild()
S
82 1 3
iubenda::define_constants()
S
77 1 5
iubenda::skip_shortcode()
S
79 1 3
simple_html_dom_node::getElementsById()
S
79 1 3
simple_html_dom_node::removeAttribute()
S
80 1 3
IubendaLegalWidget::__construct()
S
65 1 9
iubenda_AMP::__construct()
S
64 1 9
iubendaParser::get_converted_page()
S
82 1 3
iubenda_Forms::__construct()
S
66 1 8
GoogleTagManagerListener::__construct()
S
77 1 4
simple_html_dom::firstChild()
S
82 1 3
simple_html_dom::childNodes()
S
81 1 3
IubendaLegalWidget::init()
S
79 1 3
simple_html_dom_node::has_child()
S
80 1 3