Code Analysis: CookieAdmin - Cookie Consent Banner 1.0.9

Function Rating Maintainability Complexity Lines of code
CookieAdmin\Admin::cookieadmin_save_settings()
D
27
80 71
CookieAdmin\Admin::scan_cookies_page()
C
25
24 177
CookieAdmin\Scanner::scan_forms_on_page()
C
35 29 73
cookieadmin_load_cookies_csv()
B
39 21 59
CookieAdmin\Admin::settings_page()
B
35 14 92
CookieAdmin\Admin::consent_form_page()
A
25
1 250
cookieadmin_categorize_cookies()
A
44 13 42
CookieAdmin\CookieCategorizer::match_and_enrich_cookies()
A
46 12 39
CookieAdmin\Enduser::check_if_cookies_allowed()
A
48 12 32
cookieadmin_load_plugin_admin()
A
52 11 22
CookieAdmin\Admin::save_raw_scan_results()
A
45 9 41
CookieAdmin\Scanner::process_and_store_cookies()
A
46 9 36
CookieAdmin\Admin::enqueue_scripts()
A
46 9 35
cookieadmin_ajax_handler()
A
48 7 33
CookieAdmin\Enduser::enqueue_scripts()
A
47 7 31
cookieadmin_is_editor_mode()
S
61 8 12
CookieAdmin\Admin::cookieadmin_auto_configure_cookies()
S
45 6 40
CookieAdmin\Scanner::find_and_queue_links()
S
58 7 14
cookieadmin_load_policy()
S
58 6 15
CookieAdmin\Admin::cookieadmin_edit_cookies()
S
51 5 23
CookieAdmin\Scanner::scan_single_url()
S
54 5 20
CookieAdmin\Admin::plugin_update_notice()
S
49 4 33
CookieAdmin\Admin::dashboard_page()
S
48 4 33
CookieAdmin\Admin::close_plugin_update_notice()
S
59 5 14
cookieadmin_autoloader()
S
59 5 14
cookieadmin_load_consent_template()
S
55 4 19
cookieadmin_load_plugin()
S
58 4 16
CookieAdmin\CookieCategorizer::categorize_cookies()
S
60 4 14
CookieAdmin\Scanner::start_scan()
S
61 4 12
CookieAdmin\Admin::footer_theme()
S
53 3 23
CookieAdmin\Admin::header_theme()
S
57 3 18
CookieAdmin\Admin::cookieadmin_plugin_menu()
S
55 3 17
CookieAdmin\Scanner::capture_redirect_headers()
S
63 4 10
CookieAdmin\CookieCategorizer::fetch_candidates_from_db()
S
64 4 10
CookieAdmin\CookieCategorizer::generate_query_prefixes()
S
60 3 13
cookieadmin_kses_allowed_html()
S
48 1 41
CookieAdmin\Admin::is_feature_available()
S
62 3 11
CookieAdmin\Admin::cookieadmin_scan_cookies()
S
62 3 10
cookieadmin_load_strings()
S
52 1 23
CookieAdmin\Database::cookieadmin_create_tables()
S
57 1 22
cookieadmin_update_check()
S
65 2 9
cookieadmin_kses_allowed_protocols()
S
69 2 7
cookieadmin_compare_consent_id()
S
63 2 10
cookieadmin_r_print()
S
75 1 5
cookieadmin_deactivate()
S
83 1 3
cookieadmin_is_pro()
S
81 1 3
cookieadmin_logo_svg()
S
83 1 3
cookieadmin_activate()
S
70 1 6
CookieAdmin\Database::activate()
S
71 1 6
CookieAdmin\Enduser::cookieadmin_show_banner()
S
67 1 7
CookieAdmin\Enduser::cookieadmin_table_exists()
S
72 1 5
CookieAdmin\Admin::plugin_update_notice_filter()
S
76 1 4
CookieAdmin\Admin::cookieadmin_table_exists()
S
72 1 5
cookieadmin_load_textdomain()
S
78 1 3