cmplz_cookie_admin D

Total Complexity 712
Dependencies 6
Dependents 1
Total lines 4,361
Lines of code 3,111
Logical lines of code 1,592
Comment lines 601
Methods 108
Properties 3

Methods 108

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