PMS_WOO_Subscription_Discounts D

Total Complexity 176
Dependencies 2
Dependents 1
Total lines 1,049
Lines of code 442
Logical lines of code 284
Comment lines 352
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
get_user_membership_discounts()
C
38 30 61
product_has_member_discounts()
C
40 27 54
get_discounted_price()
B
38 21 66
setup_global_subscription_plan_discounts()
A
52 10 22
init()
A
49 8 28
is_product_excluded_from_member_discounts()
S
54 7 19
get_member_variation_regular_price()
S
59 7 13
get_member_discount_badge()
S
56 6 17
after_subscription_plan_discounts_updated()
S
58 6 15
get_member_price_html()
S
57 6 15
reset_cart_session_data()
S
59 6 14
get_member_regular_price()
S
61 6 13
get_member_price()
S
60 6 13
get_member_variation_price()
S
59 6 13
product_discounted_membership_required_message()
S
62 6 10
set_user_variation_prices_hash()
S
63 5 11
after_pms_woocommerce_settings_updated()
S
68 4 7
refresh_cart_upon_member_login()
S
73 3 5
disable_price_adjustments()
S
61 1 12
enable_price_adjustments()
S
61 1 12
member_prices_display_sale_price()
S
79 1 3
get_product_unfiltered_sale_status()
S
66 1 8
clear_all_variation_prices_transients()
S
67 1 8
__construct()
S
79 1 3