Code Analysis: WooCommerce Stripe Gateway 10.8.1

Most Complex Functions

Function Rating Complexity
WC_Stripe_Express_Checkout_Helper::compute_should_show_express_checkout_button()
D
52
WC_Stripe_Admin_Notices::stripe_check_environment()
D
42
WC_Stripe_UPE_Payment_Gateway::javascript_params()
D
39
WC_Stripe::init()
D
32
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_Webhook_Handler::handle_checkout_session_success()
D
29
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_Payment_Gateway::prepare_source()
C
28