Gdpr_Cookie_Consent_Public D

Total Complexity 153
Dependencies 4
Dependents 1
Total lines 940
Lines of code 659
Logical lines of code 445
Comment lines 203
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
gdprcookieconsent_inject_gdpr_script()
D
8
74 397
show_cookie_consent_bar()
A
47 13 36
gdprcookieconsent_template_redirect()
A
52 14 19
public_modules()
A
46 12 39
wpl_get_user_ip()
S
56 7 19
gdprcookieconsent_shortcode_cookie_details()
S
49 5 30
gdpr_renew_consent_bar()
S
51 5 27
gdprcookieconsent_clean_async_url()
S
65 3 9
__construct()
S
68 2 7
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