Code Analysis: Checkout.com Payment Gateway 4.4.2

Most Complex Functions

Function Rating Complexity
WC_Checkoutcom_Utility::get_alternative_payment_methods()
D
100
WC_Checkoutcom_Api_request::get_request_param()
D
44
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
20
WC_Gateway_Checkout_Com_Cards::process_payment()
B
20
WC_Gateway_Checkout_Com_Cards::webhook_handler()
B
15
WC_Gateway_Checkout_Com_Cards::payment_fields()
B
11
WC_Gateway_Checkout_Com_Google_Pay::payment_fields()
A
3
WC_Checkoutcom_Cards_Settings::cards_settings()
A
1
WC_Checkoutcom_Admin::generate_links()
A
12
WC_Checkoutcom_Api_request::klarna_session()
A
9