S2_Subscription D

Total Complexity 148
Dependencies 3
Dependents 8
Total lines 989
Lines of code 554
Logical lines of code 337
Comment lines 219
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
change_status()
D
22
58 168
get_product_meta()
A
43 14 47
start()
A
45 13 40
get_formatted_recurring()
S
50 7 26
get_address_fields()
S
52 6 22
get_address_fields_from_order()
S
57 6 17
get_default_meta_data()
S
38 1 85
get_next_payment_due_date()
S
58 5 14
check_payment_gateway_available()
S
62 4 12
get_customer_order_note()
S
66 4 8
__construct()
S
65 4 9
add_subscription()
S
55 2 18
get()
S
66 3 8
get_subscription_meta()
S
68 2 7
get_order()
S
74 2 4
update_subscription_meta()
S
73 2 5
get_billing_email()
S
74 2 4
get_billing_phone()
S
74 2 4
populate()
S
70 2 6
get_payment_due_date_paused_offset()
S
65 2 9
get_view_subscription_url()
S
66 2 8
calculate_totals_from_changes()
S
59 1 13
get_payment_method()
S
79 1 3
get_id()
S
82 1 3
set()
S
75 1 4
get_change_status_link()
S
64 1 10