Code Analysis: WooCommerce Stripe Gateway 10.7.0

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
39
WC_Stripe::init()
D
33
WC_Stripe_UPE_Payment_Gateway::process_payment_with_payment_method()
C
28
WC_Stripe_Payment_Tokens::add_token_to_user()
C
27
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_Webhook_Handler::process_webhook()
C
27
WC_Stripe_Payment_Tokens::woocommerce_get_customer_upe_payment_tokens()
C
26
WC_Stripe_Settings_Controller::admin_scripts()
C
24