-
Home
-
WPConsent – Cookie Consent Banner for Privacy Compliance (GDPR / CCPA)
-
1.0.1
-
Code
-
Classes
- WPConsent_Cookies
Total Complexity |
43 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
552 |
Lines of code |
318 |
Logical lines of code |
97 |
Comment lines |
165 |
Methods |
21 |
Properties |
2 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_cookies_by_category() |
S |
45 |
4 |
46 |
get_categories() |
S |
51 |
5 |
28 |
add_cookie() |
S |
52 |
3 |
28 |
delete_cookie() |
S |
62 |
4 |
11 |
update_service() |
S |
58 |
3 |
17 |
get_cookies() |
S |
54 |
2 |
21 |
get_services_by_category() |
S |
55 |
2 |
21 |
delete_category() |
S |
56 |
2 |
19 |
add_service() |
S |
59 |
2 |
15 |
update_category() |
S |
61 |
2 |
14 |
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 |
get_cookies_by_service() |
S |
80 |
1 |
3 |
delete_service() |
S |
75 |
1 |
4 |
update_cookie() |
S |
77 |
1 |
3 |
register_taxonomy() |
S |
71 |
1 |
6 |
__construct() |
S |
75 |
1 |
4 |