YWSBS_Subscription_Order D

Total Complexity 168
Dependencies 6
Dependents 2
Total lines 1,193
Lines of code 797
Logical lines of code 451
Comment lines 190
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()
C
28
27 130
check_order_for_subscription()
C
29 23 125
renew_order_old()
A
36 7 84
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