cmplz_cookie_admin D

Total Complexity 752
Dependencies 5
Dependents 1
Total lines 4,104
Lines of code 2,839
Logical lines of code 1,597
Comment lines 664
Methods 109
Properties 4

Methods 109

Method Rating Maintainability Complexity Lines of code
maybe_sync_services()
D
27
35 135
ajax_edit_item()
D
27
31 143
maybe_sync_cookies()
D
27
30 143
get_cookie_list_item_html()
C
31 27 98
parse_for_statistics_settings()
C
36 27 78
run_cookie_scan()
C
35 24 80
cookiebanner_html()
C
36 24 68
inline_cookie_script()
B
38 20 63
get_cookies()
B
36 18 83
statistics_privacy_friendly()
B
46 19 36
site_shares_data()
B
44 18 43
ajax_get_list()
B
38 16 72
get_service_list_item_html()
B
38 15 70
get_supported_languages()
A
43 14 47
__construct()
A
41 13 51
get_statistics_script()
A
43 13 42
get_serviceTypes_options()
A
43 12 49
get_cookiePurpose_options()
A
44 12 46
get_services()
A
41 11 55
store_console_errors()
A
46 11 35
run_sync()
A
49 11 32
get_pages_list_single_run()
A
42 9 58
ensure_cookies_in_all_languages()
A
45 10 40
site_needs_cookie_warning()
A
53 11 22
update_services()
A
47 10 37
uses_non_functional_cookies()
A
49 10 31
sync_progress()
A
42 8 60
run_sync_on_update()
A
50 10 29
cookie_warning_required_stats()
A
52 10 27
parse_for_stats()
A
52 10 26
maybe_filter_consenttype()
A
56 10 19
get_syncable_cookies()
A
49 9 30
parse_for_thirdparty_services()
A
53 9 24
parse_for_social_media()
A
54 9 23
get_statistics_category()
A
56 9 18
get_next_page_url()
A
48 7 35
clear_cookies()
S
52 7 25
reset_pages_list()
S
55 7 22
get_cookies_by_service()
S
54 7 19
get_sync_progress()
S
57 7 19
set_page_as_processed()
S
57 7 16
detect_conflicts()
S
45 4 60
clear_double_cookienames()
S
51 6 26
get_detected_cookies_table()
S
51 6 25
get_services_options()
S
52 6 25
get_syncable_services()
S
52 6 24
maybe_add_service_to_list()
S
55 6 22
maybe_add_statistics_service()
S
56 6 20
enqueue_assets()
S
54 6 18
get_tagmanager_script()
S
53 5 22
rescan()
S
57 5 17
has_empty_cookie_descriptions()
S
59 5 15
get_cookie_path()
S
58 5 14
get_remote_scan_url()
S
51 4 28
site_uses_cookie_from_service()
S
57 4 17
consent_required_for_anonymous_stats()
S
63 5 9
test_cookies()
S
51 3 29
track_cookie_changes()
S
62 4 12
google_analytics_always_block_ip()
S
61 4 12
add_gtag_js()
S
61 4 12
scan_progress()
S
51 2 37
load_detected_cookies()
S
56 3 20
get_cookie_prefix()
S
68 4 7
get_last_cookie_scan_date()
S
60 3 14
get_language_descriptor()
S
62 3 11
processing_agreements()
S
49 1 39
matomo_configured()
S
65 3 8
show_google_fonts_notice()
S
69 3 6
enqueue_admin_assets()
S
64 3 8
add_clicky_js()
S
65 3 9
reset_scanned_post_batches()
S
65 3 9
add_asyncdefer_attribute()
S
70 3 6
get_scannable_post_types()
S
56 1 20
get_scan_progress()
S
56 1 19
plugin_changes()
S
69 2 7
resync()
S
67 2 8
get_cookie_domain()
S
67 2 7
get_domain()
S
67 2 8
bool_string()
S
75 2 4
tagmanager_configured()
S
68 2 7
analytics_configured()
S
68 2 7
get_last_cookie_sync_date()
S
65 2 9
get_processed_pages_list()
S
69 2 7
get_progress_count()
S
65 2 9
plugins_changed()
S
79 1 3
clear_pages_list()
S
81 1 3
cookiebanner_css()
S
87 1 3
reset_plugins_changed()
S
79 1 3
reset_plugins_updated()
S
79 1 3
uses_only_functional_cookies()
S
80 1 3
get_active_policy_id()
S
79 1 3
upgrade_active_policy_id()
S
73 1 5
pages_to_process()
S
73 1 5
inline_cookie_script_no_warning()
S
69 1 9
uses_matomo()
S
75 1 4
uses_google_tagmanager()
S
75 1 4
uses_google_analytics()
S
75 1 4
use_cdb_api()
S
74 1 4
plugins_updated()
S
79 1 3
this()
S
81 1 3
update_cookie_policy_date()
S
76 1 4
reset_cookies_changed()
S
72 1 5
cookies_changed()
S
79 1 3
set_cookies_changed()
S
80 1 3
update_sync_date()
S
71 1 5
automatic_cookiescan_disabled()
S
79 1 3
convert_slug_to_name()
S
72 1 5
scan_complete()
S
75 1 4
plugins_updating()
S
80 1 3