WC_Product_Braintree_Subscription S

Total Complexity 40
Dependencies 0
Dependents 0
Total lines 192
Lines of code 126
Logical lines of code 55
Comment lines 27
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
__construct()
S
58 1 16
get_subscription_period_interval()
S
66 2 8
get_plans()
S
74 2 4
get_signup_fee()
S
80 2 3
get_subscription_trial_length()
S
75 2 4
get_braintree_plans()
S
74 2 4
set_subscription_price()
S
81 1 3
set_subscription_length()
S
81 1 3
set_subscription_period_interval()
S
81 1 3
set_subscription_period()
S
81 1 3
set_subscription_sign_up_fee()
S
81 1 3
set_subscription_trial_period()
S
81 1 3
set_subscription_trial_length()
S
81 1 3
set_subscription_one_time_shipping()
S
81 1 3
set_braintree_sandbox_plans()
S
81 1 3
set_braintree_production_plans()
S
81 1 3
has_trial()
S
80 1 3
set_sandbox_subscription_period_interval()
S
80 1 3
get_production_subscription_period_interval()
S
80 1 3
get_braintree_sandbox_plans()
S
82 1 3
get_sandbox_subscription_period_interval()
S
80 1 3
get_braintree_production_plans()
S
82 1 3
__get()
S
80 1 3
get_subscription_one_time_shipping()
S
82 1 3
get_subscription_trial_period()
S
82 1 3
get_subscription_sign_up_fee()
S
82 1 3
get_subscription_period()
S
82 1 3
get_subscription_price()
S
80 1 3
get_subscription_length()
S
82 1 3
get_type()
S
82 1 3
is_one_time_shipping()
S
80 1 3
get_price_html()
S
79 1 3
get_price()
S
81 1 3
__set()
S
80 1 3
set_production_subscription_period_interval()
S
80 1 3