WC_Payment_Gateway_Revolut D

Total Complexity 288
Dependencies 9
Dependents 0
Total lines 1,791
Lines of code 1,069
Logical lines of code 604
Comment lines 442
Methods 59
Properties 8

Methods 59

Method Rating Maintainability Complexity Lines of code
handle_revolut_order_result()
B
43 20 40
save_payment_method()
B
39 18 56
blocks_checkout_processor()
B
39 16 66
payment_fields()
B
37 15 80
process_payment()
A
39 13 62
process_refund()
A
43 13 42
save_payment_token_to_order()
A
49 11 29
woocommerce_checkout_revolut_order_processed()
A
49 11 28
update_payment_method_title()
A
49 9 29
order_action_from_woocommerce()
A
49 9 26
get_confirmation_page_promotional_banners()
A
45 8 40
woocommerce_order_validator()
A
45 7 41
normalize_payment_methods()
A
52 8 23
save_wc_order_id()
A
47 7 36
add_payment_method()
S
50 7 27
maybe_cancel_previous_wc_order()
S
54 7 20
process_blocks_payment()
S
55 7 19
action_revolut_order()
S
59 7 13
save_shipments_information()
S
50 6 28
verify_order_total()
S
52 6 23
wc_revolut_get_current_page()
S
57 6 19
blocks_loaded()
S
57 6 16
searchListKeyValue()
S
61 6 12
wc_revolut_enqueue_scripts()
S
61 5 13
admin_notices()
S
61 4 13
checkout_return()
S
59 3 16
maybe_save_payment_method()
S
63 4 10
wc_revolut_get_current_order_id()
S
65 4 9
handle_blocks_saved_payment_method()
S
60 3 13
get_informational_banner_data()
S
55 2 19
woocommerce_shipment_save_shipments_information()
S
58 2 15
points_banner_available()
S
71 3 6
remove_all_payment_tokens()
S
66 3 9
enqueue_common_standard_scripts()
S
52 1 24
__construct()
S
54 1 20
enqueue_express_checkout_scripts()
S
60 1 17
check_payment_processed()
S
74 2 5
get_mode()
S
78 2 3
maybe_pay_by_saved_method()
S
69 2 7
add_default_options()
S
67 2 8
wc_revolut_get_current_order_key()
S
68 2 8
wc_revolut_get_checkout_payment_url()
S
67 2 8
get_revolut_order()
S
62 1 13
revolut_plugin_public_query_vars()
S
77 1 3
init_supports()
S
75 1 5
get_icon()
S
91 1 2
generate_customer_id()
S
81 1 3
plugin_options_updated()
S
73 1 5
pay_by_saved_method()
S
67 1 8
generate_inline_revolut_form()
S
82 1 3
handle_add_payment_method()
S
82 1 3
check_currency_support()
S
79 1 3
admin_nav_tab()
S
76 1 4
save_payment_method_checkbox()
S
82 1 3
save_payment_method_requested()
S
82 1 3
display_update_subs_payment_checkout()
S
82 1 3
clear_temp_session()
S
74 1 4
get_selected_payment_token()
S
82 1 3
currency_support_error()
S
79 1 3