Code Analysis: Airwallex Online Payments Gateway 1.9.3

Most Complex Functions

Function Rating Complexity
Airwallex\Client\AbstractClient::createPaymentIntent()
D
32
Airwallex\Services\WebhookService::process()
C
21
Airwallex\Controllers\OrderController::getAvailableShippingOptions()
B
22
Airwallex\Gateways\AirwallexGatewayLocalPaymentMethod::updateOrderDetails()
B
22
Airwallex\Main::addJsLegacy()
B
12
Airwallex\Controllers\AirwallexController::paymentConfirmation()
B
14
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\Gateways\Blocks\AirwallexExpressCheckoutWCBlockSupport::shouldDisplay()
A
13