Age_Gate_Public D

Total Complexity 152
Dependencies 3
Dependents 4
Total lines 701
Lines of code 468
Logical lines of code 282
Comment lines 85
Methods 19
Properties 8

Methods 19

Method Rating Maintainability Complexity Lines of code
is_restricted()
C
32 29 100
_screen_type()
B
45 20 39
toolbar_link_to_mypage()
B
42 17 46
_get_meta()
B
37 13 91
get_age()
A
47 15 34
getRedirectUrl()
A
45 12 43
_get_id()
S
57 7 18
age_gate_error()
S
58 6 13
customiser_js_disable()
S
64 6 10
age_gate_set_value()
S
68 4 6
_is_bot()
S
64 4 9
_archive_date()
S
60 3 13
_filter_errors()
S
61 3 11
__construct()
S
63 3 9
load_template()
S
68 3 7
_set_user_age()
S
74 2 4
age_gate_failed()
S
71 2 5
generate_unique_id()
S
67 2 7
restrictionStatus()
S
80 1 3