WC_Gateway_Stripe D

Total Complexity 174
Dependencies 10
Dependents 10
Total lines 1,225
Lines of code 677
Logical lines of code 351
Comment lines 377
Methods 45
Properties 8

Methods 45

Method Rating Maintainability Complexity Lines of code
process_payment()
C
33 23 95
payment_fields()
A
42 13 46
verify_intent_after_checkout()
A
47 11 38
update_onboarding_settings()
A
50 11 27
prepare_intent_for_order_pay_page()
A
49 8 31
modify_successful_payment_result()
A
49 7 32
__construct()
A
42 6 47
process_admin_options()
S
53 6 22
reorder_available_payment_gateways()
S
56 5 17
validate_field()
S
58 5 15
show_update_card_notice()
S
61 5 11
display_order_fee()
S
53 4 24
display_order_payout()
S
53 4 24
elements_form()
S
49 2 49
render_payment_intent_inputs()
S
55 4 19
prepare_order_pay_page()
S
57 4 16
complete_free_order()
S
57 3 18
needs_setup()
S
70 4 6
get_checkout_payment_url()
S
66 4 7
check_intent_status_on_order_page()
S
64 4 10
retry_after_error()
S
59 3 13
is_available()
S
71 3 6
failed_sca_auth()
S
65 3 9
validate_publishable_key_field()
S
68 3 7
validate_secret_key_field()
S
68 3 7
validate_test_publishable_key_field()
S
68 3 7
validate_test_secret_key_field()
S
68 3 7
is_automatic_capture_enabled()
S
78 2 3
get_connection_url()
S
70 2 6
get_validated_option()
S
75 1 4
update_validated_option()
S
75 1 4
change_no_available_methods_message()
S
79 1 3
get_setup_help_text()
S
70 1 7
get_required_settings_keys()
S
80 1 3
is_enabled()
S
79 1 3
is_in_test_mode()
S
79 1 3
enable()
S
80 1 3
disable()
S
80 1 3
get_icon()
S
79 1 3
init_form_fields()
S
78 1 3
get_saved_payment_method_option_html()
S
71 1 5
handle_intent_verification_failure()
S
76 1 4
handle_intent_verification_success()
S
75 1 4
set_cookie_on_current_request()
S
80 1 3
admin_options()
S
80 1 3