Code Analysis: Checkout.com Payment Gateway 4.3.2

Most Complex Functions

Function Rating Complexity
WC_Checkoutcom_Utility::get_alternative_payment_methods()
D
95
WC_Checkoutcom_Api_request::get_request_param()
D
35
WC_Gateway_Checkout_Com_Apple_Pay::payment_fields()
C
4
WC_Checkoutcom_Api_request::customer_address()
B
22
WC_Gateway_Checkout_Com_Cards::callback_handler()
B
16
WC_Gateway_Checkout_Com_Cards::process_payment()
B
16
WC_Gateway_Checkout_Com_Cards::payment_fields()
B
11
WC_Gateway_Checkout_Com_Cards::webhook_handler()
A
14
WC_Checkoutcom_Cards_Settings::cards_settings()
A
1
WC_Gateway_Checkout_Com_Google_Pay::payment_fields()
A
3
Checkout\Controllers\WebhookController::update()
A
14
WC_Checkoutcom_Api_request::klarna_session()
A
10