SMAPI_Subscription B

Total Complexity 88
Dependencies 2
Dependents 3
Total lines 691
Lines of code 295
Logical lines of code 187
Comment lines 209
Methods 28
Properties 6

Methods 28

Method Rating Maintainability Complexity Lines of code
start_subscription()
A
45 11 39
can_be_create_a_renew_order()
S
59 6 13
get_next_payment_due_date()
S
59 6 13
__construct()
S
55 5 19
get_address_fields_from_order()
S
59 5 14
update_subscription()
S
56 4 18
get_address_fields()
S
57 4 16
can_be_cancelled()
S
60 4 12
add_manual_to_order_statuses()
S
62 4 11
renew_subscription()
S
53 3 22
register_failed_attemp()
S
62 3 11
get_subscription_meta()
S
65 3 8
has_a_renew_order()
S
66 3 9
cancel_subscription()
S
65 3 10
add_subscription()
S
60 2 13
smm_register_manual_order_status()
S
61 2 12
__isset()
S
71 2 6
get()
S
79 2 3
update_subscription_meta()
S
70 2 6
get_billing_email()
S
73 2 4
get_billing_phone()
S
73 2 4
__get()
S
68 2 7
populate()
S
68 2 7
get_order()
S
75 2 4
get_default_meta_data()
S
82 1 3
set()
S
75 1 4
set_var_sub()
S
78 1 3
get_var_sub()
S
75 1 4