-
Home
-
WPConsent – Cookie Consent Banner for Privacy Compliance (GDPR / CCPA)
-
1.0.6
-
Code
-
Classes
- WPConsent_Cookie_Blocking
Total Complexity |
66 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
359 |
Lines of code |
221 |
Logical lines of code |
113 |
Comment lines |
101 |
Methods |
13 |
Properties |
2 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
find_scripts_by_category() |
C |
36 |
26 |
77 |
should_process() |
A |
48 |
13 |
32 |
process_output() |
A |
53 |
8 |
22 |
modify_iframe_tag() |
S |
57 |
3 |
17 |
maybe_skip_for_google_consent() |
S |
63 |
3 |
11 |
modify_script_tag() |
S |
61 |
3 |
11 |
add_blocked_element_placeholder() |
S |
62 |
2 |
12 |
maybe_buffer_start() |
S |
71 |
2 |
6 |
buffer_end() |
S |
75 |
2 |
5 |
get_placeholder_button() |
S |
61 |
1 |
15 |
__construct() |
S |
73 |
1 |
5 |
hooks() |
S |
71 |
1 |
5 |
get_google_consent_mode() |
S |
78 |
1 |
3 |