Code Analysis: Airwallex Online Payments Gateway 1.18.0

Most Complex Functions

Function Rating Complexity
Airwallex\Client\AbstractClient::createPaymentIntent()
D
33
Airwallex\Controllers\OrderController::getAvailableShippingOptions()
B
22
Airwallex\Services\WebhookService::process()
B
19
Airwallex\Gateways\AirwallexGatewayLocalPaymentMethod::updateOrderDetails()
B
22
Airwallex\Controllers\OrderController::getDisplayItems()
B
15
Airwallex\Gateways\ExpressCheckout::shouldShowExpressCheckoutButton()
B
17
Airwallex\Controllers\OrderController::normalizeState()
A
17
Airwallex\Controllers\PaymentConsentController::createConsentWithoutPayment()
A
12
Airwallex\Controllers\AirwallexController::processOrderPay()
A
13
Airwallex\Controllers\AirwallexController::paymentConfirmation()
A
11
Airwallex\Gateways\Blocks\AirwallexExpressCheckoutWCBlockSupport::shouldDisplay()
A
13
Airwallex\Gateways\Settings\APISettings::init_form_fields()
A
2