Code Analysis: Checkout.com Payment Gateway 4.7.0

Most Complex Functions

Function Rating Complexity
WC_Checkoutcom_Utility::get_alternative_payment_methods()
D
116
WC_Checkoutcom_Api_Request::get_request_param()
D
54
WC_Gateway_Checkout_Com_Cards::process_payment()
C
28
WC_Gateway_Checkout_Com_Apple_Pay::payment_fields()
C
4
WC_Gateway_Checkout_Com_Cards::webhook_handler()
C
22
WC_Checkoutcom_Api_Request::customer_address()
B
22
WC_Gateway_Checkout_Com_Cards::callback_handler()
B
21
WC_Gateway_Checkout_Com_Alternative_Payments_Sepa::process_payment()
B
20
CKO_Paypal_Express::fill_paypal_selected_address_field()
B
21
WC_Checkoutcom_Api_Request::create_payment()
B
20
WC_Checkoutcom_Api_Request::refund_payment()
B
17
WC_Checkoutcom_Admin::generate_links()
A
13