Code Analysis: iubenda | All-in-one Compliance for GDPR / CCPA Cookie Consent + more 3.7.0

Function Rating Maintainability Complexity Lines of code
Iubenda_Forms::get_source_forms()
D
8
82 401
simple_html_dom_node::seek()
D
22
67 157
simple_html_dom::read_tag()
D
21
58 185
Iubenda_Settings::process_actions()
D
27
45 123
Cookie_Solution_Generator::handle()
D
28
40 116
iubendaParser::parse_scripts()
D
24
35 185
iubenda::output_callback()
D
31 37 97
Iubenda_Forms::save_form()
D
32 37 89
simple_html_dom::parse_charset()
C
34 27 93
Iubenda_CS_Product_Service::saving_cs_options()
C
30 25 113
simple_html_dom_node::parse_selector()
C
39 28 58
iubenda::wp_enqueue_scripts()
B
40 24 57
Iubenda_Legal_Widget::widget()
B
43 23 39
iubendaParser::parse_iframes()
B
36 19 78
Iubenda_Settings::load_defaults()
B
22
6 266
Iubenda_List_Table_Forms::print_column_headers()
B
39 18 56
iubenda::parse_configuration()
B
42 17 52
iubenda::clean_embed_scripts()
B
40 16 56
simple_html_dom_node::outertext()
B
44 17 41
Iubenda_Settings::init_prepare_product_options_while_upgrading()
B
41 16 55
Iubenda_Settings::options_page()
B
38 15 69
Iubenda_AMP::wp_footer_amp()
B
43 16 49
iubendaParser::parse_comments()
A
44 16 40
Iubenda_AMP::get_amp_template_url()
A
46 16 32
simple_html_dom_node::get_display_size()
A
44 14 47
Iubenda_Forms::prepare_mapped_forms()
A
44 14 44
Iubenda_Forms::get_forms()
A
41 13 52
iubendaParser::__construct()
A
47 14 33
simple_html_dom_node::find()
A
47 14 33
Quick_Generator_Service::get_mapped_language_on_local()
A
49 14 32
Iubenda_Forms::autodetect_forms()
A
44 13 44
Iubenda_Forms::prepare_data_for_wp_forms()
A
44 13 39
Iubenda_List_Table_Forms::column_default()
A
43 12 47
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
Radar_Service::send_radar_progress_request()
A
40 10 61
Iubenda_Code_Extractor::extract_html_tags_with_dom()
A
44 11 44
simple_html_dom_node::text()
A
51 12 25
Iubenda_Settings::services_option()
A
34 6 111
simple_html_dom::parse_attr()
A
48 11 32
simple_html_dom_node::dump_node()
A
45 10 44
Iubenda_List_Table_Forms::get_views()
A
44 10 42
simple_html_dom_node::match()
A
50 11 25
iubenda::do_upgrade_processes()
A
51 11 24
Iubenda_AMP::wp_head_amp()
A
51 11 23
iubenda::maybe_do_upgrade()
A
54 11 20
Quick_Generator_Service::pp_button()
A
50 10 27
Iubenda_Settings::update_plugin()
A
45 9 42
Iubenda_PP_Product_Service::saving_pp_options()
A
41 8 55
Quick_Generator_Service::quick_generator_api()
A
42 8 53
iubendaParser::create_tags()
A
46 9 38
Iubenda_Code_Extractor::extract_html_tags_with_simple_html_dom()
A
47 9 37
iubenda::domain()
A
48 8 36
Iubenda_Notice::check_for_showing_rating_notice()
A
48 8 35
iubendaParser::strpos_array()
A
55 9 19
Iubenda_Legal_Block::iub_legal_block_html()
A
56 9 17
simple_html_dom_node::makeup()
A
49 8 31
Iubenda_Settings::synchronize_products()
A
45 7 44
Iubenda_Legal_Widget::display_callback()
A
51 8 26
Radar_Service::check_response()
A
52 8 23
simple_html_dom_node::removeChild()
A
53 8 22
iubendaParser::get_script_tags()
A
56 8 19
iubenda::regenerate_amp_templates()
A
55 8 19
iubendaParser::get_iframe_tags()
A
56 8 19
Iubenda_Forms::process_entry_for_wp_forms()
A
48 7 32
iubendaParser::consent_given()
A
56 8 16
iubenda::init()
A
49 7 31
Iubenda_AMP::prepare_amp_template()
S
41 4 71
Iubenda_Forms::find_elementor_form_id()
S
61 8 11
simple_html_dom::clear()
S
54 7 24
Iubenda_Legal_Block::change_pre_registered_default_footer_content()
S
52 7 24
iubendaParser::skip_tags()
S
53 7 22
simple_html_dom_node::addClass()
S
54 7 22
Iubenda_AMP::generate_amp_template()
S
54 7 20
iubenda::parse_code()
S
54 7 18
Quick_Generator_Service::tc_button()
S
56 7 18
Iubenda_Code_Extractor::wp_sanitize_script_attributes()
S
56 7 17
simple_html_dom::restore_noise()
S
49 6 32
iubenda::disable_jetpack_tracking()
S
58 7 16
iubenda::assign_legal_block_or_widget()
S
56 7 16
Iubenda_TC_Product_Service::saving_tc_options()
S
44 5 44
Iubenda_AMP::fix_analytics_wp_amp()
S
60 7 12
Product_Helper::check_pp_tc_status_and_position()
S
60 7 11
iubenda::wp_head_cons()
S
51 6 25
Iubenda_Forms::get_form()
S
52 6 25
simple_html_dom::remove_noise()
S
52 6 23
Iubenda_List_Table_Forms::prepare_items()
S
46 5 38
simple_html_dom_node::removeClass()
S
56 6 20
Iubenda_Settings::save_init_prepared_product_options()
S
48 5 34
simple_html_dom_node::find_ancestor_tag()
S
56 6 18
simple_html_dom_node::__set()
S
56 6 17
iubenda::__construct()
S
47 5 32
GoogleTagManagerListener::handle()
S
58 6 16
Iubenda_List_Table_Forms::handle_row_actions()
S
48 5 31
simple_html_dom_node::dump()
S
57 6 16
Iubenda_Notice::show_notice_inside_plugin()
S
57 6 15
iubendaParser::get_purposes()
S
58 6 14
simple_html_dom::__get()
S
61 6 14
Iubenda_Notice::load_defaults_notices()
S
42 3 59
simple_html_dom_node::__get()
S
61 6 12
Iubenda_Forms::init()
S
54 5 21
simple_html_dom::__construct()
S
56 5 20
Iubenda_Notice::iub_general_div()
S
56 5 18
Iubenda_CS_Product_Service::get_legislation_from_embed_code()
S
57 5 17
iubenda::find_closing_bracket()
S
58 5 16
Iubenda_Code_Extractor::extract_html_tags()
S
59 5 16
iubenda::set_transient_flag_on_plugin_upgrade()
S
62 6 10
Language_Helper::get_default_website_language_code()
S
58 5 15
Quick_Generator_Service::integrate_setup()
S
58 5 15
Service_Rating::check_service_status()
S
60 5 15
Iubenda_Legal_Block::insert_iub_block_shortcode_into_footer()
S
60 5 15
Language_Helper::get_user_profile_language_code()
S
59 5 14
Iubenda_CS_Product_Service::handle_amp_generation_operations()
S
61 5 12
Product_Helper::check_iub_code_exists_current_lang()
S
61 5 11
iub_is_polylang_active()
S
62 5 11
iub_is_wpml_active()
S
62 5 11
Iubenda_Legal_Block::get_footer_from_database()
S
52 4 25
Iubenda_Forms::get_form_by_object_id()
S
52 4 25
file_get_html()
S
53 4 24
Iubenda_Notice::dismiss_rating_notice()
S
54 4 21
Iubenda_Forms::wp_enqueue_scripts()
S
55 4 19
Privacy_Policy_Generator::handle()
S
56 4 17
iubenda::parse_tc_pp_configuration()
S
57 4 17
Terms_Conditions_Generator::handle()
S
56 4 17
Iubenda_List_Table_Forms::sources_dropdown()
S
56 4 17
Iubenda_Notice::iub_rating_scripts()
S
49 2 46
simple_html_dom_node::__isset()
S
66 5 8
iubendaParser::recursive_array_search()
S
63 5 10
Quick_Generator_Service::add_footer()
S
65 5 8
Radar_Service::send_radar_sync_request()
S
49 3 30
simple_html_dom::parse()
S
58 4 15
Iubenda_Legal_Block::insert_iub_block_shortcode_into_footer_by_dom()
S
50 3 29
simple_html_dom::copy_until_char()
S
59 4 14
Language_Helper::language_unification_locale_to_iub()
S
60 4 13
Iubenda_Abstract_Product_Service::sanitize_options()
S
60 4 13
simple_html_dom_node::innertext()
S
61 4 13
Iubenda_Legal_Widget::assign_iubenda_widget()
S
61 4 13
Iubenda_AMP::fix_analytics_amp_for_wp()
S
60 4 13
Iubenda_Notice::maybe_show_notice()
S
61 4 13
Product_Helper::get_public_id_for_current_language()
S
61 4 12
Iubenda_Code_Extractor::iub_add_attribute_to_scripts()
S
60 4 12
Iubenda_AMP::amp_post_template_data()
S
61 4 12
Iubenda_Forms::delete_form()
S
61 4 12
simple_html_dom_node::hasClass()
S
61 4 12
iubenda::plugin_action_links()
S
59 4 12
Iubenda_Forms::iub_array_dot()
S
62 4 11
iub_verify_user_capability()
S
63 4 11
simple_html_dom::load()
S
52 3 24
Quick_Generator_Service::cons_ajax_save()
S
54 3 21
Iubenda_Settings::check_site_is_already_made_setup()
S
56 3 21
Iubenda_Legal_Block::insert_iub_block_shortcode_into_footer_by_simple_html_dom()
S
55 3 20
Iubenda_Abstract_Product_Service::update_button_style()
S
56 3 19
simple_html_dom::prepare()
S
55 3 19
Iubenda_Forms::register_post_status()
S
57 3 18
Iubenda_List_Table_Forms::extra_tablenav()
S
57 3 17
iubenda::instance()
S
57 3 17
Iubenda_Code_Extractor::handle_scripts()
S
58 3 16
str_get_html()
S
59 3 16
Iubenda_Legal_Block::check_current_theme_supports_blocks()
S
70 4 6
Radar_Service::ask_radar_to_send_request()
S
65 4 9
simple_html_dom_node::next_sibling()
S
63 4 10
simple_html_dom_node::prev_sibling()
S
63 4 10
simple_html_dom::search_noise()
S
65 4 9
Iubenda_Notice::has_outside_plugin_notice()
S
62 4 10
Iubenda_Notice::has_inside_plugin_notice()
S
62 4 10
can_use_dom_document_class()
S
65 4 9
GoogleAnalyticsListener::unblock_script()
S
59 3 14
GoogleTagManagerListener::unblock_script()
S
59 3 14
Iubenda_Code_Extractor::handle_styles()
S
61 3 13
Iubenda_CS_Product_Service::parse_configuration_by_regex()
S
60 3 13
Iubenda_Notice::iub_dismiss_general_notice()
S
60 3 13
iubenda::activation()
S
60 3 12
GoogleAnalyticsListener::handle()
S
63 3 11
Iubenda_Settings::admin_enqueue_scripts()
S
51 2 26
Iubenda_Notice::iub_general_scripts()
S
56 2 25
Service_Rating::rating_calculation_components()
S
53 2 24
Iubenda_Settings::admin_menu_options()
S
56 2 21
iubenda::deactivation()
S
55 2 21
iubenda::iub_update_options()
S
56 2 20
Iubenda_Plugin_Setting_Service::plugin_settings_save_options()
S
55 2 19
Iubenda_Settings::toggle_services()
S
56 2 19
iubenda::upgrading_to_ver_3_process()
S
56 2 18
iubendaParser::array_merge_custom()
S
65 3 9
Service_Rating::is_terms_conditions_activated()
S
65 3 9
Quick_Generator_Service::pp_button_shortcode()
S
68 3 6
iubenda::output_end()
S
73 3 5
iubenda()
S
68 3 7
iub_get_request_parameter()
S
70 3 6
iub_verify_ajax_request()
S
66 3 8
iub_verify_postback_request()
S
66 3 8
Service_Rating::is_cookie_solution_activated()
S
65 3 9
iubenda::check_iubenda_version()
S
67 3 9
Iubenda_Legal_Block::detach_legal_block_from_footer()
S
67 3 9
Iubenda_Abstract_Product_Service::get_languages_code_keys()
S
64 3 10
Iubenda_Settings::is_not_empty()
S
71 3 6
simple_html_dom::copy_skip()
S
65 3 8
iubenda::file_exists()
S
64 3 9
iubenda::upgrade()
S
72 3 5
Language_Helper::get_local_supported_language()
S
63 3 10
Product_Helper::get_languages()
S
70 3 6
iubenda::prepare_custom_data()
S
64 3 10
simple_html_dom_node::children()
S
66 3 9
Quick_Generator_Service::tc_button_shortcode()
S
68 3 6
iubendaParser::run_observers()
S
63 3 10
Service_Rating::is_privacy_policy_activated()
S
65 3 9
Iubenda_Abstract_Product_Service::iub_strpos_array()
S
67 3 8
Iubenda_Code_Extractor::add_iub_cs_skip_class()
S
64 3 9
Service_Rating::is_service_detected_or_installed_by_radar()
S
70 3 6
Iubenda_Legal_Block::attach_legal_block_into_footer()
S
67 3 9
Iubenda_Legal_Block::iub_delete_in_between()
S
64 3 9
Iubenda_Legal_Block::check_iub_block_shortcode_exists_in_the_footer()
S
69 3 7
Iubenda_Code_Extractor::fetch_script_attributes()
S
64 3 10
Service_Rating::is_cookie_solution_automatically_parse_enabled()
S
66 3 9
Iubenda_Notice::iub_rating_div()
S
54 1 29
Iubenda_Legal_Widget::form()
S
61 2 12
iubenda::get_allowed_html()
S
53 1 26
Iubenda_Settings::__construct()
S
51 1 24
iubenda::includes()
S
54 1 23
Iubenda_Elementor_Legal_Widget::register_controls()
S
56 1 20
iubendaParser::print_banner()
S
64 1 17
Iubenda_Legal_Block::insert_default_footer_into_database()
S
57 1 17
Iubenda_AMP::amp_post_template_css()
S
70 2 6
Iubenda_Abstract_Product_Service::get_only_valid_values()
S
71 2 6
simple_html_dom::as_text_node()
S
65 2 8
Product_Helper::get_cs_embed_code_by_lang()
S
67 2 7
Iubenda_Code_Extractor::remove_first_script_tag()
S
67 2 8
Service_Rating::is_service_installed_by_radar()
S
69 2 6
Iubenda_Legal_Widget::update()
S
71 2 5
iubendaParser::set_purpose()
S
72 2 5
iubenda::is_cs_service_enabled_and_configured()
S
75 2 4
simple_html_dom_node::save()
S
69 2 7
Iubenda_Legal_Block::force_detach_legal_block_from_footer()
S
70 2 7
simple_html_dom::copy_until()
S
67 2 7
simple_html_dom_node::parent()
S
68 2 8
simple_html_dom_node::__unset()
S
79 2 3
Iubenda_Legal_Widget::get_settings()
S
69 2 7
Iubenda_Notice::__construct()
S
62 2 10
Iubenda_Legal_Block::force_append_legal_block_in_footer()
S
68 2 8
Radar_Service::calculate_radar_percentage()
S
63 2 10
simple_html_dom::save()
S
72 2 5
simple_html_dom::load_file()
S
67 2 8
simple_html_dom_node::remove()
S
75 2 5
__iub_trans()
S
65 2 9
simple_html_dom::link_nodes()
S
69 2 7
Iubenda_List_Table_Forms::__construct()
S
63 2 10
simple_html_dom_node::last_child()
S
72 2 6
iubenda::is_the_current_user_can_access_live_editor()
S
79 2 3
Iubenda_Forms::register_post_type()
S
60 1 15
iubendaParser::bot_detected()
S
77 2 3
iubenda::output_start()
S
73 2 5
Service_Rating::is_service_detected_by_radar()
S
69 2 6
simple_html_dom_node::first_child()
S
72 2 6
iubenda::check_if_we_support_current_theme_to_attach_legal()
S
79 2 3
iubenda::compare_iub_plugin_versions()
S
68 2 7
Service_Rating::services_percentage()
S
67 2 7
simple_html_dom::skip()
S
73 2 4
Iubenda_Abstract_Product_Service::iub_strip_slashes_deep()
S
71 2 6
Iubenda_Settings::array_map_callback()
S
71 2 6
Iubenda_Legal_Block::attach_legal_block_into_block_area()
S
60 1 13
Iubenda_Settings::admin_print_styles()
S
74 1 12
Iubenda_List_Table_Forms::display_tablenav()
S
67 1 11
Iubenda_Legal_Widget::__construct()
S
62 1 11
simple_html_dom_node::has_child()
S
80 1 3
Iubenda_Legal_Widget::check_current_theme_supports_widget()
S
80 1 3
simple_html_dom_node::nodeName()
S
83 1 3
Quick_Generator_Service::pp_ajax_save()
S
72 1 5
simple_html_dom_node::removeAttribute()
S
80 1 3
simple_html_dom::__toString()
S
82 1 3
simple_html_dom::createTextNode()
S
80 1 3
Product_Helper::is_cons_service_enabled()
S
80 1 3
Iubenda_Legal_Widget::register_widget()
S
81 1 3
Quick_Generator_Service::__construct()
S
78 1 3
simple_html_dom_node::childNodes()
S
81 1 3
simple_html_dom_node::hasChildNodes()
S
82 1 3
simple_html_dom_node::getAttribute()
S
81 1 3
Iubenda_Code_Extractor::enqueue_embed_code()
S
68 1 7
Service_Rating::__construct()
S
79 1 3
iubenda::skip_shortcode()
S
79 1 3
Iubenda_Settings::get_frontpage_main_box()
S
73 1 5
Product_Helper::is_iub_service_enabled()
S
77 1 3
simple_html_dom::getElementById()
S
79 1 3
Iubenda_Elementor_Legal_Widget::render()
S
66 1 8
iubendaParser::parse()
S
72 1 6
simple_html_dom_node::__destruct()
S
83 1 3
GoogleTagManagerListener::__construct()
S
77 1 4
Iubenda_Elementor_Legal_Widget::get_icon()
S
75 1 4
simple_html_dom::loadFile()
S
77 1 4
dump_html_tree()
S
82 1 3
Product_Helper::is_cs_service_configured()
S
80 1 3
Iubenda_Code_Extractor::clean_tampered_scripts()
S
74 1 5
iubenda::define_constants()
S
77 1 5
simple_html_dom::remove_callback()
S
82 1 3
Product_Helper::is_cons_service_configured()
S
80 1 3
simple_html_dom::__destruct()
S
83 1 3
Quick_Generator_Service::plugin_settings_ajax_save()
S
72 1 5
Quick_Generator_Service::add_amp_permission_error()
S
81 1 3
Product_Helper::is_tc_service_configured()
S
80 1 3
simple_html_dom::lastChild()
S
82 1 3
Iubenda_Elementor_Legal_Widget::get_keywords()
S
79 1 3
Iubenda_Forms::mc4wp_integration_woocommerce_checkbox_attributes()
S
76 1 4
Product_Helper::is_cs_service_enabled()
S
80 1 3
Iubenda_Legal_Block::__construct()
S
69 1 6
Product_Helper::is_pp_service_configured()
S
80 1 3
Iubenda_Code_Extractor::has_tampered_scripts()
S
73 1 5
iubendaParser::get_converted_page()
S
82 1 3
simple_html_dom_node::previousSibling()
S
82 1 3
Product_Helper::get_embed_code()
S
73 1 4
Iubenda_List_Table_Forms::no_items()
S
79 1 3
Iubenda_Notice::add_notice()
S
75 1 4
Iubenda_Elementor_Legal_Widget::get_name()
S
82 1 3
Iubenda_Forms::__construct()
S
66 1 8
simple_html_dom::getElementByTagName()
S
80 1 3
iubenda::__wakeup()
S
79 1 3
simple_html_dom_node::getElementsById()
S
79 1 3
simple_html_dom_node::getElementById()
S
79 1 3
Iubenda_Notice::iubenda_hide_notices_wp()
S
77 1 9
Product_Helper::is_tc_service_enabled()
S
80 1 3
Product_Helper::get_tc_embed_code_by_lang()
S
79 1 3
Iubenda_List_Table_Forms::get_sortable_columns()
S
71 1 6
simple_html_dom_node::clear()
S
72 1 6
iubenda::replace_the_callback_functions_to_parse_configuration()
S
69 1 6
Iubenda_Legal_Block::render_iub_legal_block()
S
68 1 7
simple_html_dom::dump()
S
82 1 3
simple_html_dom_node::setAttribute()
S
80 1 3
simple_html_dom::firstChild()
S
82 1 3
Radar_Service::__construct()
S
75 1 4
Iubenda_Notice::remove_notice()
S
75 1 4
Quick_Generator_Service::cs_ajax_save()
S
72 1 5
iubenda::load_textdomain()
S
78 1 3
iub_caught_exception()
S
72 1 4
iub_array_only()
S
79 1 3
Product_Helper::get_pp_embed_code_by_lang()
S
79 1 3
simple_html_dom::set_callback()
S
82 1 3
simple_html_dom::createElement()
S
78 1 3
iubenda::register_shortcode()
S
72 1 5
Iubenda_Legal_Widget::init()
S
79 1 3
Iubenda_Code_Extractor::fetch_attributes_and_add_skip_class()
S
76 1 4
Iubenda_CS_Product_Service::prepare_custom_scripts_iframes()
S
70 1 6
simple_html_dom::childNodes()
S
81 1 3
Iubenda_Legal_Block::register_shortcode()
S
79 1 3
Iubenda_Elementor_Legal_Widget::get_title()
S
79 1 3
simple_html_dom::find()
S
79 1 3
GoogleAnalyticsListener::__construct()
S
77 1 4
simple_html_dom_node::xmltext()
S
70 1 6
simple_html_dom_node::__construct()
S
77 1 4
Radar_Service::force_delete_radar_configuration()
S
80 1 3
Iubenda_Settings::return_alert()
S
63 1 10
Iubenda_AMP::__construct()
S
64 1 9
Quick_Generator_Service::tc_ajax_save()
S
72 1 5
Iubenda_List_Table_Forms::get_columns()
S
64 1 10
iubenda::is_elementor_installed_and_activated()
S
80 1 3
Iubenda_Legal_Block::remove_iub_block_shortcode_from_footer()
S
71 1 5
Iubenda_List_Table_Forms::single_row()
S
66 1 9
simple_html_dom_node::__toString()
S
82 1 3
Product_Helper::is_iub_service_configured()
S
77 1 3
simple_html_dom_node::parentNode()
S
82 1 3
simple_html_dom_node::firstChild()
S
82 1 3
Iubenda_Legal_Widget::register_iubenda_elementor_widget()
S
75 1 4
Iubenda_Legal_Block::check_iub_block_shortcode_exists_in_the_footer_content()
S
78 1 3
iubenda::__clone()
S
79 1 3
simple_html_dom_node::getElementsByTagName()
S
80 1 3
simple_html_dom::getElementsById()
S
79 1 3
Iubenda_Code_Extractor::check_tampered_script()
S
73 1 4
Iubenda_List_Table_Forms::get_default_primary_column_name()
S
82 1 3
iubendaParser::get_activate_classes()
S
80 1 3
Iubenda_Elementor_Legal_Widget::get_categories()
S
81 1 3
Product_Helper::is_pp_service_enabled()
S
80 1 3
iubenda::block_shortcode()
S
79 1 3
simple_html_dom_node::lastChild()
S
82 1 3
simple_html_dom_node::appendChild()
S
77 1 4
simple_html_dom_node::getAllAttributes()
S
83 1 3
simple_html_dom_node::getElementByTagName()
S
80 1 3
simple_html_dom_node::hasAttribute()
S
81 1 3
iubenda::update_iubenda_version()
S
80 1 3
simple_html_dom_node::nextSibling()
S
82 1 3
Iubenda_Legal_Block::update_the_footer_into_database()
S
80 1 3
Product_Helper::check_iub_cs_code_exists_current_lang()
S
80 1 3
simple_html_dom::getElementsByTagName()
S
80 1 3
Quick_Generator_Service::auto_detect_forms()
S
70 1 6