-
Home
-
Cookie Notice & Compliance for GDPR / CCPA
-
2.5.1
-
Code
-
Classes
- Cookie_Notice_Frontend
Total Complexity |
249 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
821 |
Lines of code |
453 |
Logical lines of code |
298 |
Comment lines |
221 |
Methods |
22 |
Properties |
1 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check_conditions() |
D |
29 |
81 |
64 |
add_cookie_notice() |
C |
32 |
31 |
82 |
get_cc_options() |
C |
40 |
28 |
48 |
wp_enqueue_notice_scripts() |
B |
42 |
18 |
43 |
maybe_display_banner() |
A |
52 |
12 |
23 |
add_block_class() |
A |
48 |
9 |
30 |
init() |
A |
56 |
8 |
17 |
get_custom_items() |
S |
58 |
7 |
15 |
early_init() |
S |
59 |
7 |
14 |
is_preview_mode() |
S |
74 |
7 |
3 |
hex2rgb() |
S |
57 |
6 |
15 |
purge_cache() |
S |
59 |
6 |
13 |
add_cookie_compliance() |
S |
63 |
5 |
10 |
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_dns_prefetch() |
S |
70 |
3 |
7 |
get_cc_output() |
S |
67 |
2 |
7 |
is_login() |
S |
76 |
2 |
3 |
__construct() |
S |
59 |
1 |
14 |
allow_style_attributes() |
S |
77 |
1 |
4 |