cmplz_banner_loader D

Total Complexity 330
Dependencies 3
Dependents 1
Total lines 1,614
Lines of code 1,060
Logical lines of code 627
Comment lines 308
Methods 52
Properties 2

Methods 52

Method Rating Maintainability Complexity Lines of code
inline_cookie_script()
B
36 21 74
get_cookies()
B
36 18 87
get_statistics_script()
B
40 18 52
site_shares_data()
B
44 18 43
detect_conflicts()
B
39 15 78
cookiebanner_html()
A
40 15 56
get_supported_languages()
A
43 15 49
statistics_privacy_friendly()
A
46 14 39
store_console_errors()
A
45 12 38
get_services()
A
42 11 51
cookie_warning_required_stats()
A
51 11 27
site_needs_cookie_warning()
A
53 11 22
uses_non_functional_cookies()
A
49 10 31
maybe_filter_consenttype()
A
56 10 19
get_statistics_category()
A
56 9 18
__construct()
A
49 8 27
get_cookies_by_service()
A
54 8 20
parse_for_thirdparty_services()
A
55 8 20
parse_for_social_media()
A
55 8 20
get_tagmanager_script()
S
54 6 18
enqueue_assets()
S
55 6 17
consent_required_for_anonymous_stats()
S
60 6 12
maybe_add_statistics_service()
S
58 5 16
get_cookie_path()
S
58 5 14
site_uses_cookie_from_service()
S
57 4 17
google_analytics_always_block_ip()
S
60 4 14
add_gtag_js()
S
60 4 13
get_cookie_prefix()
S
70 4 6
get_last_cookie_scan_date()
S
60 3 14
upgrade_active_policy_id()
S
62 3 12
matomo_configured()
S
66 3 8
show_google_fonts_notice()
S
69 3 6
add_asyncdefer_attribute()
S
70 3 6
add_clicky_js()
S
64 3 10
get_active_policy_id()
S
66 3 9
bool_string()
S
75 2 4
uses_google_analytics()
S
69 2 7
uses_google_tagmanager()
S
69 2 7
analytics_configured()
S
68 2 7
tagmanager_configured()
S
68 2 7
get_last_cookie_sync_date()
S
65 2 9
get_cookie_domain()
S
67 2 7
get_domain()
S
67 2 8
update_cookie_policy_date()
S
76 1 4
uses_only_functional_cookies()
S
80 1 3
wizard_completed_once()
S
80 1 3
convert_slug_to_name()
S
72 1 5
this()
S
81 1 3
inline_cookie_script_no_warning()
S
69 1 9
cookiebanner_css()
S
81 1 6
uses_matomo()
S
75 1 4
use_cdb_api()
S
74 1 4