-
Home
-
WPConsent – Cookie Consent Banner for Privacy Compliance (GDPR / CCPA)
-
1.0.4.1
-
Code
-
Classes
- WPConsent_Banner
Total Complexity |
30 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
376 |
Lines of code |
227 |
Logical lines of code |
138 |
Comment lines |
106 |
Methods |
13 |
Properties |
1 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_preferences_modal() |
A |
39 |
6 |
65 |
get_banner() |
S |
41 |
5 |
54 |
maybe_output_banner() |
S |
63 |
5 |
12 |
powered_by() |
S |
56 |
2 |
17 |
floating_consent_button() |
S |
61 |
3 |
10 |
maybe_replace_smart_tags() |
S |
60 |
2 |
12 |
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 |
get_banner_top_buttons() |
S |
73 |
1 |
4 |