Code Analysis: WooCommerce Stripe Gateway 10.9.1

Most Complex Functions

Function Rating Complexity
WC_Stripe_Express_Checkout_Helper::compute_should_show_express_checkout_button()
D
52
WC_Stripe_Webhook_Handler::handle_checkout_session_success()
D
44
WC_Stripe_Admin_Notices::stripe_check_environment()
D
42
WC_Stripe_UPE_Payment_Gateway::javascript_params()
D
41
WC_Stripe::init()
D
33
WC_Stripe_Settings_Controller::admin_scripts()
D
31
WC_Stripe_Admin_Notices::hide_notices()
D
32
WC_Stripe_OCS_AP_Default_On_Update::maybe_migrate()
D
34
WC_Stripe_UPE_Payment_Gateway::process_payment_with_payment_method()
C
28
WC_Stripe_Payment_Gateway::process_refund()
C
28
WC_Stripe_UPE_Payment_Gateway::prepare_payment_information_from_request()
C
28
WC_Stripe_Payment_Tokens::add_token_to_user()
C
27