WC_Stripe_Subs_Compat C

Total Complexity 108
Dependencies 9
Dependents 0
Total lines 720
Lines of code 396
Logical lines of code 222
Comment lines 217
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
process_subscription_payment()
C
31 24 103
maybe_render_subscription_payment_method()
B
41 20 50
validate_subscription_payment_meta()
A
53 11 20
save_source_to_order()
S
57 6 16
handle_add_payment_method_success()
S
53 5 23
has_authentication_already_failed()
S
56 5 17
display_update_subs_payment_checkout()
S
55 4 19
has_subscription()
S
77 4 3
add_subscription_payment_meta()
S
55 2 22
__construct()
S
55 2 18
change_subs_payment_method()
S
56 2 17
process_payment()
S
64 3 10
generate_create_intent_request()
S
66 2 8
maybe_hide_save_checkbox()
S
72 2 6
remove_order_pay_var()
S
68 2 7
restore_order_pay_var()
S
71 2 6
is_subs_change_payment()
S
78 2 3
handle_intent_verification_success()
S
67 2 7
handle_intent_verification_failure()
S
64 2 9
scheduled_subscription_payment()
S
79 1 3
delete_resubscribe_meta()
S
69 1 7
delete_renewal_meta()
S
71 1 6
update_failing_payment_method()
S
75 1 4
differentiate_change_payment_method_form()
S
82 1 3
redirect_after_early_renewal()
S
67 1 9