WC_Payment_Gateway_Stripe_ACH A

Total Complexity 57
Dependencies 3
Dependents 0
Total lines 377
Lines of code 264
Logical lines of code 113
Comment lines 59
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
is_available()
S
64 5 9
add_fees_for_checkout()
S
65 5 8
get_base_url()
S
60 4 15
create_payment_method()
S
60 4 14
do_api_request()
S
55 3 20
process_payment()
S
55 3 19
update_order_review()
S
65 4 8
calculate_fees()
S
59 3 13
validate_ach_fee_field()
S
63 3 11
validate_environment_field()
S
69 3 6
generate_ach_fee_html()
S
56 1 19
fetch_link_token()
S
58 1 17
get_metadata()
S
77 2 3
fees_enabled()
S
64 2 10
__construct()
S
58 1 14
enqueue_checkout_scripts()
S
62 1 13
get_localized_params()
S
61 1 13
fetch_bank_token()
S
62 1 12
fetch_access_token()
S
63 1 11
get_public_token()
S
81 1 3
get_saved_methods_label()
S
79 1 3
get_new_method_label()
S
79 1 3
init()
S
75 1 4
get_plaid_environment()
S
80 1 3
get_plaid_url()
S
79 1 3
calculate_cart_fees()
S
81 1 3
init_supports()
S
76 1 4
has_enqueued_scripts()
S
80 1 3