Code Analysis: WooCommerce Stripe Gateway 8.1.0

Most Complex Functions

Function Rating Complexity
WC_Stripe_Admin_Notices::stripe_check_environment()
D
43
WC_Stripe_UPE_Payment_Gateway::process_payment_with_saved_payment_method()
C
24
WC_Stripe_UPE_Payment_Gateway::process_payment_with_deferred_intent()
C
23
WC_Stripe_Order_Handler::process_redirect_payment()
C
24
WC_Gateway_Stripe::process_payment()
C
23
WC_Stripe_UPE_Payment_Gateway::process_payment()
B
21
WC_Stripe_Payment_Gateway::process_refund()
B
21
WC_Stripe_UPE_Payment_Gateway::maybe_process_upe_redirect()
B
23
woocommerce_gateway_stripe()
B
2
WC_Stripe_Webhook_Handler::process_webhook_payment()
B
21
WC_Stripe_Payment_Gateway::prepare_source()
B
22
WC_Gateway_Stripe_Sepa::process_payment()
B
19