WC_Product_Braintree_Variable_Subscription S

Total Complexity 44
Dependencies 1
Dependents 1
Total lines 239
Lines of code 150
Logical lines of code 75
Comment lines 45
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
sync_product()
A
47 8 37
get_price_html()
S
59 3 14
get_variation_subscription_prices()
S
63 3 11
is_one_time_shipping()
S
78 3 3
sync_required()
S
79 2 3
get_available_variation()
S
68 2 7
get_signup_fee()
S
80 2 3
add_to_cart_handler()
S
71 2 6
set_max_subscription_price()
S
81 1 3
get_max_subscription_price_variation_id()
S
82 1 3
get_min_subscription_price_variation_id()
S
82 1 3
get_max_subscription_price()
S
82 1 3
get_min_subscription_price()
S
82 1 3
set_subscription_one_time_shipping()
S
81 1 3
set_max_subscription_price_variation_id()
S
81 1 3
set_min_subscription_price_variation_id()
S
81 1 3
init()
S
78 1 3
set_min_subscription_price()
S
81 1 3
get_product_type()
S
82 1 3
get_type()
S
82 1 3
__construct()
S
64 1 10
get_plans()
S
75 1 4
get_child()
S
80 1 3
__set()
S
80 1 3
__get()
S
80 1 3
add_data_store()
S
76 1 4
get_subscription_one_time_shipping()
S
82 1 3