Cookie_Notice_Frontend D

Total Complexity 208
Dependencies 1
Dependents 1
Total lines 750
Lines of code 413
Logical lines of code 266
Comment lines 201
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
check_conditions()
D
36 54 50
add_cookie_notice()
C
33 29 80
get_cc_options()
C
40 27 46
maybe_display_banner()
A
52 12 23
wp_enqueue_notice_scripts()
A
48 11 27
add_block_class()
A
48 9 30
init()
A
57 8 17
early_init()
A
57 8 16
get_custom_items()
S
58 7 15
hex2rgb()
S
57 6 15
is_preview_mode()
S
74 7 3
purge_cache()
S
60 6 13
change_body_class()
S
61 4 13
wp_print_footer_scripts()
S
65 4 8
wp_print_header_scripts()
S
65 4 8
sanitize_field()
S
63 3 12
add_cookie_compliance()
S
67 3 8
add_dns_prefetch()
S
70 3 7
__construct()
S
61 1 11
allow_style_attributes()
S
77 1 4
get_cc_output()
S
68 1 7