Gdpr_Cookie_Consent_Public D

Total Complexity 154
Dependencies 4
Dependents 1
Total lines 960
Lines of code 674
Logical lines of code 457
Comment lines 205
Methods 21
Properties 6

Methods 21

Method Rating Maintainability Complexity Lines of code
gdprcookieconsent_inject_gdpr_script()
D
8
74 403
show_cookie_consent_bar()
A
45 13 41
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
gdpr_renew_consent_bar()
S
51 5 27
__construct()
S
62 3 11
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
73 1 4
get_cookies()
S
69 1 7
wplcookieconsent_json_settings()
S
75 1 4
enqueue_scripts()
S
73 1 4
gdpr_cookie_data_endpoint()
S
66 1 10