Code Analysis: WooCommerce Stripe Gateway 5.7.0

Most Complex Functions

Function Rating Complexity
WC_Stripe_Admin_Notices::stripe_check_environment()
D
37
WC_Stripe_Payment_Gateway::prepare_source()
C
30
WC_Gateway_Stripe::process_payment()
C
26
WC_Stripe_Order_Handler::process_redirect_payment()
C
24
WC_Stripe_Admin_Notices::hide_notices()
C
24
WC_Stripe_UPE_Payment_Gateway::process_payment_with_saved_payment_method()
B
20
WC_Stripe_Webhook_Handler::process_webhook_payment()
B
21
WC_Stripe_Payment_Gateway::process_refund()
B
20
WC_Gateway_Stripe_Sepa::process_payment()
B
19
woocommerce_gateway_stripe()
B
2
WC_Stripe_Payment_Tokens::woocommerce_get_customer_payment_tokens_legacy()
B
18
WC_Stripe_UPE_Payment_Gateway::maybe_process_upe_redirect()
B
19