cmplz_cookie_admin D

Total Complexity 711
Dependencies 6
Dependents 1
Total lines 4,069
Lines of code 2,826
Logical lines of code 1,555
Comment lines 611
Methods 107
Properties 3

Methods 107

Method Rating Maintainability Complexity Lines of code
maybe_sync_services()
D
28
29 143
ajax_edit_item()
D
28
29 137
maybe_sync_cookies()
C
28
26 141
get_cookie_list_item_html()
C
31 27 102
parse_for_statistics_settings()
C
36 26 75
run_cookie_scan()
C
35 24 78
site_shares_data()
C
38 25 62
get_syncable_cookies()
B
39 23 61
statistics_privacy_friendly()
B
47 19 34
detect_conflicts()
B
37 15 93
ajax_get_list()
B
37 16 72
get_service_list_item_html()
B
38 15 70
get_cookies()
A
38 14 74
get_detected_cookies_table()
A
42 13 56
ensure_cookies_in_all_languages()
A
43 13 45
store_console_errors()
A
44 13 43
inline_cookie_script()
A
43 12 50
get_serviceTypes_options()
A
43 12 49
get_cookiePurpose_options()
A
43 12 48
store_detected_cookies()
A
44 12 45
site_needs_cookie_warning()
A
52 11 23
get_statistics_script()
A
47 10 31
sync_progress()
A
42 8 60
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
50 9 31
get_services()
A
45 8 45
get_pages_list_single_run()
A
42 7 53
parse_for_stats()
A
54 9 22
enqueue_assets()
A
44 7 49
__construct()
A
43 7 45
run_sync()
A
52 8 25
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
52 7 25
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
clear_cookies()
S
54 6 22
maybe_add_service_to_list()
S
54 6 22
reset_pages_list()
S
56 6 19
google_analytics_always_block_ip()
S
58 6 16
cookie_warning_required_stats()
S
58 6 15
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_statistics_script_classes()
S
60 5 13
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
matomo_configured()
S
62 4 11
scan_progress()
S
51 2 38
get_last_cookie_scan_date()
S
58 3 16
load_detected_cookies()
S
59 3 15
enqueue_admin_assets()
S
59 3 14
upgrade_active_policy_id()
S
62 3 13
add_gtag_js()
S
61 3 12
get_language_descriptor()
S
62 3 11
processing_agreements()
S
49 1 39
test_cookies()
S
54 2 23
tagmanager_configured()
S
64 3 10
analytics_configured()
S
64 3 10
add_script_classes_for_stats()
S
64 3 9
add_clicky_js()
S
63 3 10
inline_cookie_script_no_warning()
S
63 2 12
get_progress_count()
S
65 2 9
uses_matomo()
S
69 2 7
uses_google_tagmanager()
S
69 2 7
get_cookie_domain()
S
67 2 7
uses_google_analytics()
S
69 2 7
bool_string()
S
75 2 4
get_active_policy_id()
S
67 2 8
get_domain()
S
67 2 8
reset_scanned_post_batches()
S
70 2 6
get_last_cookie_sync_date()
S
64 2 10
get_processed_pages_list()
S
69 2 7
scan_complete()
S
69 2 7
get_scan_progress()
S
63 1 11
reset_cookies_changed()
S
72 1 5
uses_only_functional_cookies()
S
80 1 3
has_console_error()
S
91 1 2
maybe_enqueue_jquery()
S
81 1 3
clear_pages_list()
S
81 1 3
update_sync_date()
S
71 1 5
automatic_cookiescan_disabled()
S
79 1 3
pages_to_process()
S
71 1 6
convert_slug_to_name()
S
72 1 5
get_cookiebanner_settings()
S
70 1 6
update_cookie_policy_date()
S
76 1 4
reset_plugins_changed()
S
79 1 3
use_cdb_api()
S
74 1 4
reset_plugins_updated()
S
79 1 3
set_cookies_changed()
S
80 1 3
resync()
S
73 1 5
plugin_changes()
S
76 1 4
plugins_changed()
S
79 1 3
plugins_updating()
S
80 1 3
plugins_updated()
S
79 1 3
cookies_changed()
S
79 1 3
this()
S
81 1 3