Code Analysis: Checkout.com Payment Gateway 4.3.0

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()
B
2
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
Checkout\Controllers\WebhookController::update()
A
14
WC_Gateway_Checkout_Com_Google_Pay::payment_fields()
A
3
WC_Checkoutcom_Api_request::klarna_session()
A
10