YWSBS_Subscription D

Total Complexity 152
Dependencies 6
Dependents 4
Total lines 1,266
Lines of code 474
Logical lines of code 283
Comment lines 546
Methods 64
Properties 8

Methods 64

Method Rating Maintainability Complexity Lines of code
update_status()
A
43 9 52
start_subscription()
A
51 10 25
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
update_subscription()
S
57 5 15
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
register_failed_attempt()
S
58 4 15
cancel_renew_order()
S
62 4 12
can_be_cancelled()
S
60 4 12
__construct()
S
66 4 9
cancel_subscription()
S
61 3 12
has_a_renew_order()
S
64 3 11
add_subscription()
S
59 2 15
get_subscription_meta()
S
65 3 8
get_product()
S
68 3 7
get_order_ids()
S
74 2 4
needs_shipping()
S
77 2 3
get_billing_last_name()
S
71 2 5
__get()
S
68 2 7
get_billing_first_name()
S
71 2 5
get_paid_order_list()
S
74 2 4
get_subscriptions_shippings()
S
74 2 4
update_subscription_meta()
S
72 2 5
get()
S
68 2 7
get_billing_phone()
S
74 2 4
get_billing_email()
S
74 2 4
__isset()
S
71 2 6
populate()
S
68 2 7
get_order()
S
74 2 4
get_line_tax_data()
S
74 2 4
get_product_name()
S
79 1 3
get_id()
S
79 1 3
get_number()
S
78 1 3
cancel()
S
69 1 6
delete()
S
71 1 6
has_status()
S
75 1 4
set()
S
75 1 4
register_failed_attemp()
S
80 1 3
get_user_id()
S
79 1 3
get_default_meta_data()
S
82 1 3
get_renew_order_id()
S
79 1 3
get_product_id()
S
79 1 3
get_quantity()
S
79 1 3
get_max_length()
S
79 1 3
get_line_tax()
S
79 1 3
get_payment_method_title()
S
79 1 3
get_start_date()
S
79 1 3
get_order_shipping()
S
79 1 3
get_paid_rates()
S
79 1 3
get_order_shipping_tax()
S
79 1 3
get_payment_method()
S
78 1 3
get_payment_due_date()
S
79 1 3
get_expired_date()
S
79 1 3
get_line_subtotal()
S
79 1 3
get_status()
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_subscription_total()
S
79 1 3