Code Analysis: Payment Plugins for Stripe WooCommerce 4.0.1

Most Complex Functions

Function Rating Complexity
WC_Stripe_Redirect_Handler::process_redirect()
D
33
WC_Stripe_Payment_Intent::should_retry_payment()
B
22
PaymentPlugins\Stripe\WooCommerceSubscriptions\PaymentController::scheduled_subscription_payment()
B
22
WC_Stripe_Payment_Intent::get_payment_intent_args()
B
22
WC_Stripe_Payment_Intent::add_level3_order_data()
B
20
WC_Stripe_Payment_Intent::process_payment()
B
18
WC_Stripe_Advanced_Settings::init_form_fields()
B
5
PaymentPlugins\Stripe\Payments\PaymentGatewaysController::process_payment_gateway_options()
B
18
WC_Stripe_Redirect_Handler::handle_add_payment_method()
B
17
PaymentPlugins\Stripe\Rest\Routes\V1\Admin\GatewaySettings::register_domain()
B
16
WC_Stripe_Payment_Intent::can_use_payment_intent()
B
17
PaymentPlugins\Stripe\Rest\Routes\V1\Admin\OrderActions::process_payment()
B
15