OMAPI_MemberPress_Rules A

Total Complexity 54
Dependencies 7
Dependents 1
Total lines 402
Lines of code 174
Logical lines of code 88
Comment lines 158
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
exclude_if_member_not_allowed()
A
51 10 29
run_checks()
A
47 8 36
is_active_on_groups()
S
54 7 22
is_on_thank_you_page()
S
56 6 20
is_on_membership_register_page()
S
62 4 12
is_on_membership_checkout_page()
S
63 4 12
is_active_on_memberships()
S
68 3 8
is_on_page()
S
68 3 8
is_on_register_page()
S
73 2 5
is_on_checkout_page()
S
74 2 5
get_product()
S
69 2 7
is_product()
S
75 1 4
is_current_post_id()
S
79 1 3
set_is_checkout()
S
80 1 3