Dintero_Checkout_Subscription B

Total Complexity 80
Dependencies 4
Dependents 5
Total lines 623
Lines of code 320
Logical lines of code 187
Comment lines 204
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
process_scheduled_payment()
A
42 10 56
handle_redirect_from_change_payment_method()
A
45 8 42
is_available()
A
54 9 20
subscription_updated_from_order_page()
S
52 5 25
get_token()
S
57 5 16
cart_has_subscription()
S
69 5 6
set_session_options()
S
57 3 17
add_order_note()
S
63 3 11
show_payment_token()
S
54 2 26
save_token()
S
62 3 10
order_has_subscription()
S
69 3 6
cart_has_only_free_trial()
S
70 3 6
copy_meta_fields_to_renewal_order()
S
67 2 8
cancel_scheduled_payment()
S
73 2 5
cart_needs_payment()
S
71 2 6
set_subscription_order_redirect_urls()
S
62 2 10
get_payment_token_from_response()
S
67 2 7
get_parent_order()
S
67 2 8
get_subscription()
S
77 2 3
__construct()
S
59 1 13
save_recurring_token()
S
78 1 3
save_payment_token()
S
78 1 3
get_recurring_token()
S
78 1 3
get_payment_token()
S
78 1 3
is_change_payment_method()
S
79 1 3
extend_allowed_domains_list()
S
77 1 4