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

Function Rating Maintainability Complexity Lines of code
iubenda_Forms::get_source_forms()
D
13
65 329
simple_html_dom_node::seek()
D
23
63 152
simple_html_dom::read_tag()
D
21
58 185
iubenda_Settings::process_actions()
D
27
48 110
QuickGeneratorService::cs_save_options()
D
28
40 114
iubenda_Forms::save_form()
D
34 37 76
iubendaParser::parse_scripts()
D
25
29 185
simple_html_dom::parse_charset()
C
34 27 93
iubenda::output_callback()
C
37 28 59
CookieSolutionGenerator::handle()
C
33 23 96
IubendaLegalWidget::widget()
B
44 24 37
simple_html_dom_node::parse_selector()
B
40 22 58
iubenda_List_Table_Forms::print_column_headers()
B
38 20 61
iubenda_Settings::init_prepare_product_options()
B
41 19 53
iubenda_Settings::init_prepare_product_options_while_upgrading()
B
41 19 53
iubendaParser::parse_iframes()
B
36 17 78
iubenda_Settings::load_defaults()
B
25
9 192
iubenda::wp_head_cs()
B
41 18 53
iubenda::parse_configuration()
B
43 17 47
simple_html_dom_node::outertext()
B
44 17 41
iubenda_Settings::options_page()
B
39 15 63
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
iubendaPage::parse_scripts()
A
34 10 107
simple_html_dom_node::get_display_size()
A
44 14 47
QuickGeneratorService::ajax_save_options()
A
40 13 57
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
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::dump_node()
A
45 10 44
iubenda_Settings::update_plugin()
A
45 10 41
simple_html_dom_node::text()
A
51 11 25
iubenda_AMP::wp_head_amp()
A
52 11 22
simple_html_dom::parse_attr()
A
48 10 32
iubenda::init()
A
48 10 31
iubenda_Settings::update_options()
A
48 10 30
simple_html_dom_node::match()
A
51 10 25
iubendaParser::create_tags()
A
46 9 38
iubenda::language_unification_locale_to_iub()
A
49 9 33
iubenda_Settings::add_notice()
A
58 10 13
iubenda_Settings::maybe_show_notice()
A
49 9 28
RadarService::send_radar_progress_request()
A
44 8 42
QuickGeneratorService::update_button_style()
A
52 9 21
iubenda::domain()
A
48 8 36
simple_html_dom_node::makeup()
A
49 8 31
iubenda::maybe_do_upgrade()
A
57 9 15
IubendaLegalWidget::display_callback()
A
51 8 26
QuickGeneratorService::quick_generator_api()
A
45 7 40
simple_html_dom_node::removeChild()
A
53 8 22
iubendaParser::get_iframe_tags()
A
56 8 19
iubendaParser::get_script_tags()
A
56 8 19
iubenda::regenerate_amp_templates()
A
55 8 19
iubendaPage::parse_iubenda_comments()
A
54 8 19
iubendaParser::consent_given()
A
56 8 16
iubendaParser::strpos_array()
A
56 8 16
iubenda_List_Table_Forms::prepare_items()
A
48 7 31
iubenda::__construct()
S
47 7 30
iubenda_Settings::check_embed_code()
S
58 8 14
simple_html_dom::clear()
S
54 7 24
simple_html_dom_node::addClass()
S
54 7 22
iubendaFaster::isParse()
S
47 6 36
iubenda_AMP::prepare_amp_template()
S
42 4 64
iubenda::parse_code()
S
55 7 17
simple_html_dom::restore_noise()
S
49 6 32
iubendaFaster::parse_iubenda_comments()
S
55 7 17
iubenda_Forms::process_entry_for_wp_forms()
S
49 6 29
iubenda::disable_jetpack_tracking()
S
60 7 12
iubenda_AMP::fix_analytics_wp_amp()
S
60 7 11
iubenda_Forms::get_form()
S
53 6 23
simple_html_dom::remove_noise()
S
52 6 23
iubendaParser::skip_tags()
S
53 6 22
simple_html_dom_node::removeClass()
S
56 6 20
simple_html_dom_node::find_ancestor_tag()
S
56 6 18
QuickGeneratorService::pp_button()
S
56 6 17
simple_html_dom_node::__set()
S
56 6 17
simple_html_dom_node::dump()
S
57 6 16
iubendaPage::create_tags()
S
50 5 30
RadarService::checkResponse()
S
57 6 15
iubendaFaster::create_tags()
S
50 5 30
iubendaParser::get_purposes()
S
58 6 14
simple_html_dom::__get()
S
61 6 14
iubenda::wp_head_cons()
S
51 5 27
simple_html_dom_node::__get()
S
61 6 12
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
GoogleTagManagerListener::handle()
S
58 5 16
iubenda::set_transient_flag_on_plugin_upgrade()
S
62 6 10
ServiceRating::checkServiceStatus()
S
60 5 15
iubendaPage::strpos_array()
S
60 5 14
iubenda_List_Table_Forms::sources_dropdown()
S
57 5 14
QuickGeneratorService::integrate_setup()
S
59 5 13
ProductHelper::check_iub_code_exists_current_lang()
S
61 5 11
iubenda_AMP::generate_amp_template()
S
60 5 11
iubendaFaster::isBlack()
S
63 5 11
QuickGeneratorService::pp_save_options()
S
51 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
iubenda_system()
S
62 5 10
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
simple_html_dom::parse()
S
58 4 15
simple_html_dom::copy_until_char()
S
59 4 14
iubenda::parse_tc_pp_configuration()
S
59 4 13
simple_html_dom_node::innertext()
S
61 4 13
iubenda::plugin_action_links()
S
59 4 12
simple_html_dom_node::hasClass()
S
61 4 12
iubenda_Forms::iub_array_dot()
S
62 4 11
iubenda_Settings::notice_count()
S
62 4 11
iubenda_AMP::fix_analytics_amp_for_wp()
S
62 4 11
simple_html_dom::load()
S
52 3 24
RadarService::send_radar_sync_request()
S
52 3 21
iubenda_Forms::wp_enqueue_scripts()
S
56 3 19
iubenda::upgrading_to_ver_3_process()
S
56 3 18
iubenda_Settings::admin_enqueue_scripts()
S
55 3 17
iubenda_List_Table_Forms::extra_tablenav()
S
58 3 17
str_get_html()
S
59 3 16
iubenda_Forms::delete_form()
S
63 4 10
iubenda_Settings::__construct()
S
48 2 30
simple_html_dom_node::next_sibling()
S
63 4 10
simple_html_dom_node::prev_sibling()
S
63 4 10
iubenda_AMP::amp_post_template_data()
S
63 4 10
simple_html_dom::search_noise()
S
65 4 9
iubenda::instance()
S
59 3 15
iubenda_Forms::register_post_status()
S
60 3 14
GoogleAnalyticsListener::unblock_script()
S
59 3 14
GoogleTagManagerListener::unblock_script()
S
59 3 14
GoogleAnalyticsListener::handle()
S
63 3 11
iubenda_Settings::check_site_is_already_made_setup()
S
62 3 11
print_stuff()
S
63 3 11
simple_html_dom::prepare()
S
55 2 19
iubenda::deactivation()
S
57 2 18
ProductHelper::get_languages()
S
70 3 6
iubenda::prepare_custom_data()
S
65 3 9
ServiceRating::isTermsConditionsActivated()
S
66 3 9
ServiceRating::isCookieSolutionActivated()
S
66 3 9
iubendaPage::consent_given()
S
66 3 8
QuickGeneratorService::tc_button()
S
65 3 8
iubenda_Settings::print_notices()
S
65 3 9
QuickGeneratorService::tc_button_shortcode()
S
69 3 6
iubenda::upgrade()
S
72 3 5
PrivacyPolicyGenerator::handle()
S
62 3 10
iubenda::file_exists()
S
66 3 8
iubendaParser::run_observers()
S
63 3 10
simple_html_dom_node::children()
S
66 3 9
ServiceRating::isCookieSolutionConfigured()
S
66 3 9
iubendaParser::array_merge_custom()
S
65 3 9
ServiceRating::isPrivacyPolicyActivated()
S
66 3 9
QuickGeneratorService::pp_button_shortcode()
S
69 3 6
iubenda::do_upgrade_processes()
S
70 3 6
iubenda::output_end()
S
76 3 4
iubenda_Settings::toggle_services()
S
58 2 15
iubenda_Settings::has_notices()
S
65 3 9
iubenda_Settings::is_not_empty()
S
71 3 6
IubendaLegalWidget::assign_iubenda_widget()
S
64 3 10
simple_html_dom::copy_skip()
S
65 3 8
iubenda()
S
70 3 6
iub__2()
S
65 3 8
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
simple_html_dom::link_nodes()
S
69 2 7
iubendaPage::bot_detected()
S
77 2 3
ServiceRating::__construct()
S
78 2 3
RadarService::askRadarToSendRequest()
S
71 2 6
simple_html_dom::copy_until()
S
67 2 7
simple_html_dom::skip()
S
73 2 4
simple_html_dom::load_file()
S
67 2 8
iubendaParser::bot_detected()
S
77 2 3
iubenda::check_iubenda_version()
S
73 2 6
iubenda_Settings::return_alert()
S
69 2 5
iubenda::output_start()
S
75 2 4
iubendaParser::set_purpose()
S
72 2 5
simple_html_dom::save()
S
72 2 5
ServiceRating::servicesPercentage()
S
67 2 7
iubenda_Settings::array_map_callback()
S
73 2 5
iubenda_AMP::amp_post_template_css()
S
70 2 6
simple_html_dom_node::last_child()
S
72 2 6
QuickGeneratorService::stripslashes_deep()
S
71 2 6
simple_html_dom_node::__unset()
S
79 2 3
iubenda::compare_iub_plugin_versions()
S
74 2 4
QuickGeneratorService::__construct()
S
78 2 3
IubendaLegalWidget::get_settings()
S
69 2 7
ServiceRating::isServiceInstalledByRadar()
S
69 2 6
simple_html_dom_node::parent()
S
68 2 8
simple_html_dom_node::remove()
S
75 2 5
ProductHelper::get_cs_embed_code_by_lang()
S
67 2 7
RadarService::__construct()
S
75 2 4
simple_html_dom_node::first_child()
S
72 2 6
simple_html_dom::as_text_node()
S
65 2 8
simple_html_dom_node::save()
S
69 2 7
IubendaLegalWidget::update()
S
71 2 5
iubenda_Settings::admin_print_styles()
S
69 1 12
iubenda_Forms::register_post_type()
S
62 1 12
iubenda::includes()
S
62 1 12
iubenda_List_Table_Forms::display_tablenav()
S
67 1 11
simple_html_dom_node::clear()
S
72 1 6
simple_html_dom_node::has_child()
S
80 1 3
iubenda::load_textdomain()
S
78 1 3
simple_html_dom_node::getElementsById()
S
79 1 3
simple_html_dom_node::getElementById()
S
79 1 3
iubenda::register_shortcode()
S
72 1 5
simple_html_dom::createElement()
S
78 1 3
iubenda::define_constants()
S
77 1 5
iubenda_List_Table_Forms::single_row()
S
66 1 9
iubenda::block_shortcode()
S
79 1 3
QuickGeneratorService::auto_detect_forms()
S
74 1 5
QuickGeneratorService::prepare_custom_scripts_iframes()
S
71 1 6
iubendaParser::parse()
S
72 1 6
iubendaPage::__construct()
S
77 1 4
simple_html_dom::getElementsByTagName()
S
80 1 3
simple_html_dom_node::nodeName()
S
83 1 3
simple_html_dom::createTextNode()
S
80 1 3
simple_html_dom_node::nextSibling()
S
82 1 3
simple_html_dom::getElementsById()
S
79 1 3
iubenda_List_Table_Forms::no_items()
S
79 1 3
simple_html_dom_node::xmltext()
S
70 1 6
simple_html_dom_node::removeAttribute()
S
80 1 3
simple_html_dom_node::getElementByTagName()
S
80 1 3
iubenda_List_Table_Forms::__construct()
S
68 1 7
simple_html_dom::lastChild()
S
82 1 3
simple_html_dom_node::getAllAttributes()
S
83 1 3
simple_html_dom_node::previousSibling()
S
82 1 3
simple_html_dom_node::childNodes()
S
81 1 3
simple_html_dom::dump()
S
82 1 3
iubenda::replace_the_callback_functions_to_parse_configuration()
S
69 1 6
simple_html_dom_node::firstChild()
S
82 1 3
iubendaPage::parse()
S
75 1 5
iubenda_Forms::__construct()
S
66 1 8
simple_html_dom::getElementById()
S
79 1 3
iubenda::__clone()
S
79 1 3
simple_html_dom_node::__construct()
S
77 1 4
iubenda::skip_shortcode()
S
79 1 3
iubenda_Settings::get_frontpage_main_box()
S
76 1 4
iubenda_List_Table_Forms::get_default_primary_column_name()
S
82 1 3
GoogleTagManagerListener::__construct()
S
77 1 4
ProductHelper::get_tc_embed_code_by_lang()
S
79 1 3
simple_html_dom::getElementByTagName()
S
80 1 3
simple_html_dom_node::setAttribute()
S
80 1 3
iubenda_List_Table_Forms::get_sortable_columns()
S
71 1 6
IubendaLegalWidget::register_widget()
S
81 1 3
ProductHelper::check_iub_cs_code_exists_current_lang()
S
80 1 3
simple_html_dom_node::appendChild()
S
77 1 4
simple_html_dom::firstChild()
S
82 1 3
simple_html_dom::__toString()
S
82 1 3
simple_html_dom_node::getElementsByTagName()
S
80 1 3
dump_html_tree()
S
82 1 3
QuickGeneratorService::add_amp_permission_error()
S
66 1 7
simple_html_dom_node::hasChildNodes()
S
82 1 3
iubenda::activation()
S
63 1 10
IubendaLegalWidget::__construct()
S
65 1 9
iubendaParser::get_activate_classes()
S
80 1 3
IubendaLegalWidget::init()
S
79 1 3
simple_html_dom_node::getAttribute()
S
81 1 3
ProductHelper::get_pp_embed_code_by_lang()
S
79 1 3
simple_html_dom::__destruct()
S
83 1 3
iubenda_Forms::mc4wp_integration_woocommerce_checkbox_attributes()
S
76 1 4
GoogleAnalyticsListener::__construct()
S
77 1 4
iubenda_Settings::iubdena_hide_notices_wp()
S
100 1 9
iubenda_AMP::__construct()
S
64 1 9
simple_html_dom::childNodes()
S
81 1 3
iubenda::update_iubenda_version()
S
79 1 3
simple_html_dom_node::__toString()
S
82 1 3
iubendaParser::get_converted_page()
S
82 1 3
simple_html_dom_node::lastChild()
S
82 1 3
simple_html_dom::loadFile()
S
77 1 4
RadarService::calculate_radar_percentage()
S
63 1 10
iubenda_List_Table_Forms::get_columns()
S
64 1 10
simple_html_dom_node::__destruct()
S
83 1 3
RadarService::forceDeleteRadarConfiguration()
S
77 1 4
simple_html_dom_node::hasAttribute()
S
81 1 3
ProductHelper::get_embed_code()
S
73 1 4
iubendaPage::get_converted_page()
S
82 1 3
simple_html_dom::remove_callback()
S
82 1 3
simple_html_dom_node::parentNode()
S
82 1 3
iubenda::__wakeup()
S
79 1 3
simple_html_dom::find()
S
79 1 3
simple_html_dom::set_callback()
S
82 1 3