-
Home
-
Cookie Notice & Compliance for GDPR / CCPA
-
2.4.8
-
Code
-
Classes
- Cookie_Notice_Frontend
Total Complexity |
178 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
591 |
Lines of code |
329 |
Logical lines of code |
199 |
Comment lines |
163 |
Methods |
18 |
Properties |
0 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check_conditions() |
D |
36 |
54 |
50 |
add_cookie_notice() |
C |
33 |
27 |
76 |
add_cookie_compliance() |
B |
44 |
18 |
35 |
init() |
A |
49 |
13 |
25 |
wp_enqueue_notice_scripts() |
A |
50 |
9 |
23 |
get_custom_items() |
S |
58 |
7 |
15 |
maybe_display_banner() |
S |
60 |
7 |
12 |
hex2rgb() |
S |
57 |
6 |
15 |
is_preview_mode() |
S |
74 |
7 |
3 |
early_init() |
S |
64 |
7 |
8 |
purge_cache() |
S |
60 |
6 |
13 |
change_body_class() |
S |
61 |
4 |
13 |
sanitize_field() |
S |
63 |
3 |
12 |
wp_print_footer_scripts() |
S |
65 |
3 |
8 |
wp_print_header_scripts() |
S |
65 |
3 |
8 |
wp_enqueue_script_async() |
S |
72 |
2 |
5 |
allow_style_attributes() |
S |
77 |
1 |
4 |
__construct() |
S |
75 |
1 |
4 |