YWSBS_Subscription_Order D

Total Complexity 175
Dependencies 6
Dependents 2
Total lines 1,232
Lines of code 827
Logical lines of code 464
Comment lines 189
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
get_extra_subscription_meta()
D
23
38 169
get_extra_subscription_meta_before_wc3()
D
23
36 176
renew_order()
D
26
30 148
check_order_for_subscription()
C
28
25 129
renew_order_old()
A
35 9 92
delete_subscriptions()
S
55 7 20
trash_subscriptions()
S
55 7 20
payment_complete()
S
58 6 15
__construct()
S
52 4 23
get_renew_order_status()
S
66 3 8
can_reduce_order_stock()
S
68 3 7
get_instance()
S
72 2 6
add_subscription_order_item_meta()
S
73 2 5
add_shipping_tax()
S
71 2 6
add_subscription_order_item_meta_before_wc3()
S
80 1 3