-
Home
-
Cookie Notice & Compliance for GDPR / CCPA
-
2.4.6
-
Code
-
Classes
- Cookie_Notice_Frontend
| Total Complexity |
106 |
| Dependencies |
1 |
| Dependents |
1 |
| Total lines |
439 |
| Lines of code |
255 |
| Logical lines of code |
139 |
| Comment lines |
110 |
| Methods |
14 |
| Properties |
3 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| add_cookie_notice() |
C |
33 |
27 |
80 |
| add_cookie_compliance() |
B |
44 |
18 |
37 |
| init() |
A |
46 |
17 |
30 |
| wp_enqueue_notice_scripts() |
A |
47 |
10 |
30 |
| get_custom_items() |
S |
58 |
7 |
15 |
| is_preview_mode() |
S |
75 |
6 |
3 |
| change_body_class() |
S |
61 |
4 |
13 |
| wp_print_footer_scripts() |
S |
64 |
4 |
9 |
| wp_print_header_scripts() |
S |
64 |
4 |
9 |
| sanitize_field() |
S |
63 |
3 |
12 |
| add_compliance_http_header() |
S |
71 |
2 |
6 |
| wp_enqueue_script_async() |
S |
72 |
2 |
5 |
| __construct() |
S |
79 |
1 |
3 |
| purge_cache() |
S |
81 |
1 |
3 |