-
Home
-
WPConsent – Cookie Consent Banner for Privacy Compliance (GDPR / CCPA)
-
1.0.8 (latest)
-
Code
-
Classes
- WPConsent_Banner
Total Complexity |
69 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
655 |
Lines of code |
426 |
Logical lines of code |
279 |
Comment lines |
172 |
Methods |
17 |
Properties |
1 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_preferences_modal() |
A |
32 |
10 |
110 |
get_cookies_from_cache() |
A |
44 |
11 |
46 |
get_cookies_content_by_category() |
A |
42 |
9 |
53 |
maybe_replace_smart_tags() |
A |
54 |
9 |
19 |
get_banner() |
S |
41 |
5 |
54 |
maybe_output_banner() |
S |
63 |
5 |
12 |
floating_consent_button() |
S |
53 |
4 |
21 |
get_cookies_table_by_category() |
S |
54 |
4 |
20 |
powered_by() |
S |
55 |
2 |
18 |
output_banner() |
S |
57 |
1 |
17 |
get_css_variables() |
S |
57 |
1 |
16 |
get_banner_top_buttons() |
S |
67 |
2 |
7 |
hex_to_rgba() |
S |
62 |
2 |
10 |
get_color_settings() |
S |
59 |
1 |
14 |
hooks() |
S |
79 |
1 |
3 |
is_enabled() |
S |
80 |
1 |
3 |
__construct() |
S |
82 |
1 |
3 |