-
Home
-
WPConsent – Cookie Consent Banner for Privacy Compliance (GDPR / CCPA)
-
1.0.8 (latest)
-
Code
-
Classes
- WPConsent_Cookies
Total Complexity |
59 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
667 |
Lines of code |
383 |
Logical lines of code |
145 |
Comment lines |
190 |
Methods |
23 |
Properties |
2 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_cookies_by_category() |
A |
41 |
7 |
58 |
get_preference_slugs() |
S |
53 |
6 |
23 |
get_categories() |
S |
50 |
5 |
29 |
needs_google_consent() |
S |
53 |
5 |
24 |
add_cookie() |
S |
50 |
4 |
32 |
update_service() |
S |
54 |
4 |
23 |
delete_cookie() |
S |
61 |
4 |
12 |
update_category() |
S |
57 |
3 |
19 |
get_services_by_category() |
S |
54 |
2 |
22 |
delete_category() |
S |
56 |
2 |
20 |
add_service() |
S |
58 |
2 |
16 |
get_service_by_slug() |
S |
60 |
2 |
13 |
add_category() |
S |
62 |
2 |
13 |
get_default_categories() |
S |
55 |
1 |
22 |
is_service_auto_added() |
S |
69 |
2 |
6 |
register_post_type() |
S |
62 |
1 |
12 |
get_cookie() |
S |
61 |
1 |
12 |
clear_cookies_cache() |
S |
74 |
1 |
5 |
register_taxonomy() |
S |
69 |
1 |
7 |
get_cookies_by_service() |
S |
80 |
1 |
3 |
delete_service() |
S |
72 |
1 |
5 |
update_cookie() |
S |
77 |
1 |
3 |
__construct() |
S |
75 |
1 |
4 |