WC_Payments_Subscription_Change_Payment_Method_Handler S

Total Complexity 44
Dependencies 4
Dependents 1
Total lines 220
Lines of code 105
Logical lines of code 59
Comment lines 83
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
redirect_pay_for_order_to_update_payment_method()
A
49 15 26
update_order_pay_button()
S
56 7 18
does_subscription_need_payment_updated()
S
66 6 7
change_payment_method_form_submit_text()
S
64 5 9
__construct()
S
60 2 12
update_subscription_change_payment_button()
S
65 2 9
can_update_payment_method()
S
79 2 3
change_payment_method_page_title()
S
70 2 6
change_payment_method_page_notice()
S
70 2 6
get_subscription_update_payment_url()
S
67 1 9