Code Analysis: WooCommerce Stripe Gateway 10.6.1

Most Complex Functions

Function Rating Complexity
WC_Stripe_Express_Checkout_Helper::should_show_express_checkout_button()
D
51
WC_Stripe_Admin_Notices::stripe_check_environment()
D
41
WC_Stripe_UPE_Payment_Gateway::javascript_params()
D
37
WC_Stripe_UPE_Payment_Gateway::process_payment_with_payment_method()
C
28
WC_Stripe_UPE_Payment_Gateway::process_payment_with_saved_payment_method()
C
25
WC_Stripe_Webhook_Handler::handle_checkout_session_success()
C
25
WC_Stripe_Payment_Gateway::prepare_source()
C
28
WC_Stripe_Payment_Tokens::add_token_to_user()
C
25
WC_Stripe_Webhook_Handler::process_webhook()
C
27
WC_Stripe_Payment_Tokens::woocommerce_get_customer_upe_payment_tokens()
C
26
WC_Stripe_Payment_Tokens::sync_and_retrieve_customer_payment_tokens()
C
26
WC_Stripe_Payment_Gateway::process_refund()
C
23