WC_Gateway_Revolut_Payment_Request A

Total Complexity 75
Dependencies 4
Dependents 5
Total lines 596
Lines of code 417
Logical lines of code 200
Comment lines 89
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
revolut_payment_request_ajax_create_order()
B
40 16 58
revolut_payment_request_ajax_add_to_cart()
A
43 14 43
init_form_fields()
A
35 3 100
revolut_payment_request_update_revolut_order_with_cart_total()
S
54 4 21
revolut_payment_request_ajax_get_shipping_options()
S
49 3 32
update_revolut_order_with_cart_total()
S
52 3 23
display_payment_request_button_html()
S
57 3 22
revolut_payment_request_ajax_update_shipping_method()
S
54 3 21
__construct()
S
53 3 21
is_available()
S
66 4 8
is_revolut_pay_fast_checkout_active()
S
64 4 10
revolut_payment_request_make_state_optional()
S
65 4 9
revolut_enqueue_payment_request_scripts()
S
71 3 6
page_supported()
S
71 3 6
init_supports()
S
76 1 4
get_icon()
S
66 1 8
generate_inline_revolut_form()
S
63 1 9
get_prb_button_styles()
S
66 1 9
localize_prb_scripts()
S
71 1 7