YWSBS_Subscription D

Total Complexity 142
Dependencies 4
Dependents 3
Total lines 1,185
Lines of code 452
Logical lines of code 271
Comment lines 482
Methods 60
Properties 6

Methods 60

Method Rating Maintainability Complexity Lines of code
update_status()
A
43 9 52
start_subscription()
A
51 9 24
can_be_editable()
S
52 7 25
get_next_payment_due_date()
S
59 6 13
get_last_billing_date()
S
57 5 18
get_address_fields()
S
55 5 18
get_address_fields_from_order()
S
59 5 14
can_be_create_a_renew_order()
S
59 5 13
can_be_active()
S
63 5 9
update_subscription()
S
58 4 14
cancel_renew_order()
S
62 4 12
can_be_cancelled()
S
60 4 12
__construct()
S
63 4 10
cancel_subscription()
S
62 3 12
register_failed_attemp()
S
62 3 11
has_a_renew_order()
S
64 3 11
get_subscription_meta()
S
65 3 8
add_subscription()
S
59 2 15
populate()
S
68 2 7
__get()
S
68 2 7
get()
S
68 2 7
get_billing_first_name()
S
71 2 5
get_paid_order_list()
S
74 2 4
__isset()
S
71 2 6
update_subscription_meta()
S
72 2 5
get_billing_phone()
S
73 2 4
get_billing_email()
S
73 2 4
get_order()
S
75 2 4
get_subscriptions_shippings()
S
74 2 4
get_order_ids()
S
74 2 4
get_billing_last_name()
S
71 2 5
needs_shipping()
S
77 2 3
get_subscription_total()
S
79 1 3
get_max_length()
S
79 1 3
get_quantity()
S
79 1 3
get_product_id()
S
79 1 3
set()
S
75 1 4
has_status()
S
75 1 4
delete()
S
71 1 6
cancel()
S
69 1 6
get_number()
S
78 1 3
get_id()
S
79 1 3
get_default_meta_data()
S
82 1 3
get_paid_rates()
S
79 1 3
get_payment_due_date()
S
79 1 3
get_status()
S
79 1 3
get_user_id()
S
79 1 3
get_product_name()
S
79 1 3
get_start_date()
S
79 1 3
get_order_shipping()
S
79 1 3
get_order_shipping_tax()
S
79 1 3
get_expired_date()
S
79 1 3
get_payment_method()
S
78 1 3
get_line_subtotal()
S
79 1 3
get_end_date()
S
79 1 3
get_line_total()
S
79 1 3
get_order_currency()
S
79 1 3
get_line_subtotal_tax()
S
79 1 3
get_payment_method_title()
S
79 1 3
get_line_tax()
S
79 1 3