WC_Stripe_Subs_Compat C

Total Complexity 107
Dependencies 8
Dependents 0
Total lines 693
Lines of code 381
Logical lines of code 223
Comment lines 205
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
process_subscription_payment()
C
31 24 101
maybe_render_subscription_payment_method()
B
41 20 50
validate_subscription_payment_meta()
A
54 11 18
save_source_to_order()
S
57 6 16
has_authentication_already_failed()
S
56 5 17
handle_add_payment_method_success()
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 17
change_subs_payment_method()
S
56 2 17
process_payment()
S
64 3 10
handle_intent_verification_success()
S
67 2 7
restore_order_pay_var()
S
71 2 6
remove_order_pay_var()
S
68 2 7
handle_intent_verification_failure()
S
65 2 8
maybe_hide_save_checkbox()
S
72 2 6
generate_create_intent_request()
S
66 2 8
is_subs_change_payment()
S
78 2 3
update_failing_payment_method()
S
75 1 4
delete_renewal_meta()
S
71 1 6
scheduled_subscription_payment()
S
79 1 3
redirect_after_early_renewal()
S
67 1 9
delete_resubscribe_meta()
S
69 1 7