WC_Gateway_Revolut_Payment_Request B

Total Complexity 98
Dependencies 4
Dependents 2
Total lines 738
Lines of code 525
Logical lines of code 280
Comment lines 100
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
get_wc_order_details()
B
40 20 58
revolut_payment_request_ajax_add_to_cart()
A
42 12 48
revolut_payment_request_ajax_create_order()
A
46 8 38
init_form_fields()
A
35 3 101
is_available()
S
59 8 13
get_wc_billing_address()
S
56 7 15
get_wc_shipping_address()
S
57 7 14
revolut_payment_request_ajax_get_shipping_options()
S
47 4 37
revolut_payment_request_ajax_update_shipping_method()
S
51 4 26
revolut_enqueue_payment_request_scripts()
S
48 3 37
update_revolut_order_with_cart_total()
S
51 3 25
display_payment_request_button_html()
S
57 3 22
revolut_payment_request_update_revolut_order_with_cart_total()
S
54 3 21
__construct()
S
53 3 21
revolut_payment_request_ajax_get_payment_request_params()
S
59 2 15
is_revolut_pay_fast_checkout_active()
S
74 3 4
parse_customer_name()
S
63 2 11
init_supports()
S
76 1 4
get_icon()
S
69 1 6
generate_inline_revolut_form()
S
63 1 9