WC_Payment_Gateway_Stripe_UPM C

Total Complexity 124
Dependencies 13
Dependents 1
Total lines 737
Lines of code 573
Logical lines of code 295
Comment lines 80
Methods 40
Properties 5

Methods 40

Method Rating Maintainability Complexity Lines of code
validate_payment_methods_field()
A
41 13 53
generate_payment_methods_html()
A
35 8 105
handle_connection_success()
A
50 10 30
map_payment_config_to_payment_methods()
A
50 8 29
generate_payment_config_select_html()
S
42 5 57
admin_options()
S
48 6 31
process_payment()
S
51 5 27
payment_methods_list_item()
S
56 5 17
add_payment_method()
S
59 4 13
get_child_payment_gateway()
S
62 4 11
get_payment_token()
S
56 3 17
get_payment_method_configuration_list()
S
58 3 16
get_tokens()
S
65 4 9
get_supported_payment_methods()
S
66 4 8
get_localized_params()
S
57 2 17
is_enabled_payment_method()
S
69 3 6
add_stripe_order_args()
S
64 3 9
get_payment_gateway_from_type()
S
67 3 8
get_child_payment_gateway_from_token()
S
63 3 10
get_payment_method_configuration()
S
74 2 4
get_payment_method_charge_type()
S
72 2 6
get_order_status_option()
S
71 2 6
is_installment_available()
S
67 2 8
get_payment_method_type_from_request()
S
78 2 3
get_element_options()
S
64 2 10
get_enabled_payment_methods()
S
70 2 6
set_child_payment_gateway()
S
81 1 3
set_payment_method_configuration()
S
79 1 3
payment_fields()
S
77 1 4
get_token()
S
77 1 3
enqueue_checkout_scripts()
S
67 1 9
update_available_payment_methods()
S
79 1 3
hooks()
S
75 1 4
update_payment_method_configuration()
S
79 1 3
is_supported_payment_method()
S
79 1 3
get_saved_methods_label()
S
79 1 3
get_new_method_label()
S
79 1 3
is_deferred_intent_creation()
S
82 1 3
get_confirmation_method()
S
82 1 3
__construct()
S
63 1 10