-
Home
-
WPConsent – Cookie Consent Banner for Privacy Compliance (GDPR / CCPA)
-
1.0.3
-
Code
-
Classes
- WPConsent_Banner
Total Complexity |
27 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
325 |
Lines of code |
199 |
Logical lines of code |
123 |
Comment lines |
91 |
Methods |
11 |
Properties |
1 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_preferences_modal() |
A |
40 |
6 |
60 |
get_banner() |
S |
42 |
5 |
47 |
maybe_output_banner() |
S |
63 |
5 |
12 |
powered_by() |
S |
56 |
2 |
17 |
floating_consent_button() |
S |
61 |
3 |
10 |
output_banner() |
S |
58 |
1 |
15 |
get_css_variables() |
S |
58 |
1 |
15 |
get_color_settings() |
S |
59 |
1 |
14 |
__construct() |
S |
82 |
1 |
3 |
hooks() |
S |
79 |
1 |
3 |
is_enabled() |
S |
80 |
1 |
3 |