cmplz_cookie_admin D

Total Complexity 723
Dependencies 6
Dependents 1
Total lines 4,001
Lines of code 2,783
Logical lines of code 1,556
Comment lines 607
Methods 106
Properties 4

Methods 106

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