-
Home
-
WPConsent – Cookie Consent Banner for Privacy Compliance (GDPR / CCPA)
-
1.0.3.1
-
Code
-
Classes
- WPConsent_Cookies
Total Complexity |
48 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
600 |
Lines of code |
345 |
Logical lines of code |
112 |
Comment lines |
176 |
Methods |
22 |
Properties |
2 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_cookies_by_category() |
S |
45 |
4 |
46 |
get_categories() |
S |
51 |
5 |
28 |
needs_google_consent() |
S |
53 |
5 |
24 |
add_cookie() |
S |
52 |
3 |
28 |
delete_cookie() |
S |
62 |
4 |
11 |
update_service() |
S |
57 |
3 |
18 |
get_services_by_category() |
S |
55 |
2 |
21 |
get_cookies() |
S |
54 |
2 |
21 |
delete_category() |
S |
56 |
2 |
19 |
add_service() |
S |
58 |
2 |
16 |
update_category() |
S |
61 |
2 |
14 |
add_category() |
S |
62 |
2 |
13 |
get_service_by_slug() |
S |
60 |
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 |
get_cookies_by_service() |
S |
80 |
1 |
3 |
update_cookie() |
S |
77 |
1 |
3 |
delete_service() |
S |
72 |
1 |
5 |
register_taxonomy() |
S |
71 |
1 |
6 |
__construct() |
S |
75 |
1 |
4 |