WPConsent_Cookies A

Total Complexity 51
Dependencies 1
Dependents 1
Total lines 631
Lines of code 360
Logical lines of code 123
Comment lines 186
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
get_cookies_by_category()
S
44 4 47
get_categories()
S
50 5 29
needs_google_consent()
S
53 5 24
add_cookie()
S
50 4 31
update_service()
S
54 4 23
delete_cookie()
S
62 4 11
update_category()
S
57 3 18
get_services_by_category()
S
54 2 22
get_cookies()
S
54 2 21
delete_category()
S
56 2 19
add_service()
S
58 2 16
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