Code Analysis: Revolut Gateway for WooCommerce 4.13.0

Most Complex Functions

Function Rating Complexity
WC_Revolut_Payment_Ajax_Controller::wc_revolut_process_payment_result()
C
24
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_Gateway_Revolut_Payment_Request::revolut_payment_request_ajax_create_order()
B
16
WC_Payment_Gateway_Revolut::woocommerce_checkout_revolut_order_processed()
A
14
WC_Payment_Gateway_Revolut::process_payment()
A
13
WC_Gateway_Revolut_Payment_Request::revolut_payment_request_ajax_add_to_cart()
A
14
WC_Payment_Gateway_Revolut::process_refund()
A
13
WC_Gateway_Revolut_CC::change_subs_payment_method()
A
12
WC_Revolut_Payment_Ajax_Controller::wc_revolut_validate_order_pay_form()
A
12