-
Home
-
Age Gate
-
2.17.0
-
Code
-
Classes
- Age_Gate_Public_JS
Total Complexity |
72 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
558 |
Lines of code |
364 |
Logical lines of code |
195 |
Comment lines |
77 |
Methods |
17 |
Properties |
1 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
ajax_setup() |
B |
35 |
18 |
76 |
_handle_button_submission() |
A |
43 |
8 |
50 |
_handle_input_submission() |
A |
44 |
8 |
47 |
_get_category_info() |
A |
45 |
8 |
45 |
handle_ajax_form_submission() |
S |
54 |
5 |
21 |
age_gate_filters() |
S |
55 |
4 |
19 |
flatten() |
S |
61 |
4 |
12 |
register_rest_endpoints() |
S |
58 |
3 |
15 |
_calc_age() |
S |
58 |
3 |
14 |
_validate() |
S |
53 |
2 |
23 |
render_age_gate() |
S |
59 |
2 |
14 |
__construct() |
S |
66 |
2 |
8 |
age_gate_rest() |
S |
79 |
1 |
3 |
age_gate_filters_rest() |
S |
79 |
1 |
3 |
_decode_age() |
S |
80 |
1 |
3 |
_test_user_age() |
S |
80 |
1 |
3 |
_hook_data() |
S |
67 |
1 |
8 |