Gdpr_Cookie_Consent_Public D

Total Complexity 180
Dependencies 4
Dependents 1
Total lines 1,233
Lines of code 927
Logical lines of code 560
Comment lines 249
Methods 21
Properties 7

Methods 21

Method Rating Maintainability Complexity Lines of code
gdprcookieconsent_inject_gdpr_script()
D
0
98 622
show_cookie_consent_bar()
B
34 19 94
gdprcookieconsent_template_redirect()
A
52 14 19
public_modules()
A
46 12 39
wpl_get_user_ip()
S
55 7 19
gdprcookieconsent_shortcode_cookie_details()
S
49 5 30
__construct()
S
59 3 13
gdprcookieconsent_clean_async_url()
S
65 3 9
gdprcookieconsent_output_body()
S
68 2 7
gdprcookieconsent_output_header()
S
68 2 7
gdpr_cookie_consent_sanitize_decoded_json()
S
68 2 7
gdprcookieconsent_output_footer()
S
68 2 7
translate_text()
S
69 2 7
gdprcookieconsent_remove_hash()
S
66 2 8
gdpr_get_settings_new()
S
76 1 4
enqueue_styles()
S
68 1 6
get_cookies()
S
69 1 7
wplcl_collect_user_iab_consent()
S
78 1 3
wplcookieconsent_json_settings()
S
75 1 4
enqueue_scripts()
S
70 1 5
gdpr_cookie_data_endpoint()
S
66 1 10