WC_QuickPay_Subscription S

Total Complexity 31
Dependencies 6
Dependents 15
Total lines 180
Lines of code 85
Logical lines of code 47
Comment lines 65
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
get_subscription()
S
56 6 19
get_subscription_id()
S
59 5 14
get_subscriptions_for_renewal_order()
S
68 3 7
cart_contains_switches()
S
70 3 6
is_renewal()
S
71 2 6
plugin_is_active()
S
78 2 3
cart_contains_failed_renewal_order_payment()
S
71 2 6
cart_contains_renewal()
S
71 2 6
order_contains_early_renewal()
S
71 2 6
get_subscriptions_for_order()
S
70 2 6
is_subscription()
S
71 2 6