WC_Payment_Gateway_Revolut D

Total Complexity 259
Dependencies 7
Dependents 0
Total lines 1,603
Lines of code 971
Logical lines of code 564
Comment lines 392
Methods 53
Properties 6

Methods 53

Method Rating Maintainability Complexity Lines of code
save_payment_method()
B
39 18 56
handle_revolut_order_result()
B
44 19 40
payment_fields()
B
37 15 80
blocks_checkout_processor()
B
39 16 63
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
50 10 26
update_payment_method_title()
A
49 9 29
get_upsell_banner_html()
A
45 8 42
order_action_from_woocommerce()
A
49 9 26
woocommerce_order_validator()
A
45 7 41
normalize_payment_methods()
A
52 8 23
add_payment_method()
S
50 7 27
maybe_cancel_previous_wc_order()
S
54 7 20
save_wc_order_id()
S
48 6 35
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
searchListKeyValue()
S
61 6 12
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
wc_revolut_enqueue_scripts()
S
48 1 35
remove_all_payment_tokens()
S
66 3 9
woocommerce_shipment_save_shipments_information()
S
58 2 15
__construct()
S
56 1 17
check_payment_processed()
S
74 2 5
maybe_pay_by_saved_method()
S
69 2 7
getMode()
S
78 2 3
wc_revolut_get_current_order_key()
S
68 2 8
wc_revolut_get_checkout_payment_url()
S
67 2 8
add_default_options()
S
67 2 8
get_revolut_order()
S
62 1 13
generate_customer_id()
S
81 1 3
request_available_payment_methods_and_brand_logos()
S
82 1 3
save_payment_method_checkbox()
S
82 1 3
currency_support_error()
S
79 1 3
check_currency_support()
S
79 1 3
admin_nav_tab()
S
76 1 4
save_payment_method_requested()
S
82 1 3
display_update_subs_payment_checkout()
S
82 1 3
init_scripts()
S
79 1 3
clear_temp_session()
S
74 1 4
get_selected_payment_token()
S
82 1 3
handle_add_payment_method()
S
82 1 3
revolut_plugin_public_query_vars()
S
77 1 3
generate_inline_revolut_form()
S
82 1 3
get_icon()
S
91 1 2
init_supports()
S
75 1 5
pay_by_saved_method()
S
67 1 8