Code Analysis: Revolut Gateway for WooCommerce 4.9.1

Most Complex Functions

Function Rating Complexity
Revolut_Webhook_Controller::handle_revolut_webhook_callbacks()
B
21
WC_Payment_Gateway_Revolut::save_payment_method()
B
18
WC_Payment_Gateway_Revolut::handle_revolut_order_result()
B
19
WC_Payment_Gateway_Revolut::payment_fields()
B
15
WC_Revolut_Payment_Ajax_Controller::wc_revolut_set_webhook()
A
13
WC_Payment_Gateway_Revolut::process_payment()
A
12
WC_Payment_Gateway_Revolut::process_refund()
A
13
WC_Gateway_Revolut_Payment_Request::revolut_payment_request_ajax_add_to_cart()
A
12
WC_Revolut_Payment_Ajax_Controller::wc_revolut_process_payment_result()
A
12
WC_Payment_Gateway_Revolut::save_payment_token_to_order()
A
11
WC_Revolut_API_Client::request()
A
10
WC_Payment_Gateway_Revolut::woocommerce_checkout_revolut_order_processed()
A
8