cmplz_cookie_admin D

Total Complexity 732
Dependencies 6
Dependents 1
Total lines 3,991
Lines of code 2,768
Logical lines of code 1,565
Comment lines 621
Methods 106
Properties 4

Methods 106

Method Rating Maintainability Complexity Lines of code
maybe_sync_services()
D
27
34 143
maybe_sync_cookies()
D
26
33 147
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
46 19 36
get_cookies()
B
37 16 80
site_shares_data()
B
44 18 43
ajax_get_list()
B
37 16 72
cookiebanner_html()
B
41 17 50
detect_conflicts()
B
39 15 78
get_service_list_item_html()
B
38 15 70
inline_cookie_script()
A
42 14 51
__construct()
A
41 12 49
get_serviceTypes_options()
A
43 12 49
get_cookiePurpose_options()
A
44 12 46
get_services()
A
41 11 55
get_statistics_script()
A
45 12 35
ensure_cookies_in_all_languages()
A
44 11 43
store_console_errors()
A
46 11 35
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
48 9 34
get_supported_languages()
A
48 9 34
uses_non_functional_cookies()
A
50 9 31
parse_for_stats()
A
54 9 22
get_statistics_category()
A
56 9 18
run_sync()
A
52 8 25
get_cookies_by_service()
A
54 8 20
parse_for_thirdparty_services()
A
55 8 20
parse_for_social_media()
A
56 8 19
maybe_filter_consenttype()
A
59 8 16
get_sync_progress()
S
57 7 19
set_page_as_processed()
S
57 7 16
get_next_page_url()
S
49 6 31
get_services_options()
S
51 6 25
get_detected_cookies_table()
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
enqueue_assets()
S
54 6 18
consent_required_for_anonymous_stats()
S
60 6 12
clear_double_cookienames()
S
51 5 26
get_tagmanager_script()
S
55 5 17
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
track_cookie_changes()
S
62 4 12
google_analytics_always_block_ip()
S
61 4 12
matomo_configured()
S
62 4 11
scan_progress()
S
51 2 37
load_detected_cookies()
S
55 3 22
get_last_cookie_scan_date()
S
58 3 16
get_cookie_prefix()
S
68 4 7
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
add_asyncdefer_attribute()
S
70 3 6
enqueue_admin_assets()
S
64 3 8
tagmanager_configured()
S
64 3 10
analytics_configured()
S
64 3 10
add_clicky_js()
S
64 3 10
get_scan_progress()
S
54 1 21
uses_google_tagmanager()
S
69 2 7
uses_matomo()
S
69 2 7
uses_google_analytics()
S
69 2 7
get_progress_count()
S
65 2 9
bool_string()
S
75 2 4
reset_scanned_post_batches()
S
70 2 6
get_cookie_domain()
S
67 2 7
get_domain()
S
67 2 8
get_processed_pages_list()
S
69 2 7
get_last_cookie_sync_date()
S
64 2 10
scan_complete()
S
69 2 7
update_cookie_policy_date()
S
76 1 4
pages_to_process()
S
71 1 6
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
plugins_changed()
S
79 1 3
upgrade_active_policy_id()
S
73 1 5
cookiebanner_css()
S
87 1 3
get_active_policy_id()
S
79 1 3
convert_slug_to_name()
S
72 1 5
clear_pages_list()
S
81 1 3
use_cdb_api()
S
74 1 4
plugins_updating()
S
80 1 3
set_cookies_changed()
S
80 1 3
plugins_updated()
S
79 1 3
reset_plugins_updated()
S
79 1 3
reset_plugins_changed()
S
79 1 3
cookies_changed()
S
79 1 3
reset_cookies_changed()
S
72 1 5
this()
S
81 1 3