WC_Gateway_Stripe D

Total Complexity 163
Dependencies 12
Dependents 4
Total lines 1,365
Lines of code 699
Logical lines of code 385
Comment lines 457
Methods 34
Properties 13

Methods 34

Method Rating Maintainability Complexity Lines of code
payment_scripts()
C
33 24 84
process_payment()
B
36 17 83
payment_fields()
A
43 13 45
__construct()
A
36 9 76
verify_intent_after_checkout()
A
49 12 31
prepare_intent_for_order_pay_page()
A
51 8 25
get_icon()
S
59 8 13
modify_successful_payment_result()
S
53 5 22
generate_api_connection_html()
S
46 3 43
display_order_fee()
S
54 4 24
display_order_payout()
S
54 4 24
elements_form()
S
48 2 50
render_payment_intent_inputs()
S
55 4 19
prepare_order_pay_page()
S
57 4 16
complete_free_order()
S
57 3 18
get_checkout_payment_url()
S
67 4 7
show_update_card_notice()
S
67 4 6
check_intent_status_on_order_page()
S
64 4 10
get_localized_error_message_from_response()
S
65 4 9
retry_after_error()
S
59 3 13
failed_sca_auth()
S
65 3 9
maybe_disallow_prepaid_card()
S
67 3 7
is_available()
S
71 3 6
admin_scripts()
S
59 2 13
check_source()
S
69 2 6
render_signin_popup()
S
71 2 6
maybe_remove_non_existent_customer()
S
66 2 9
throw_localized_message()
S
72 1 5
get_saved_payment_method_option_html()
S
71 1 5
init_form_fields()
S
78 1 3
set_cookie_on_current_request()
S
80 1 3
handle_intent_verification_success()
S
79 1 3
handle_intent_verification_failure()
S
80 1 3
change_no_available_methods_message()
S
79 1 3