WC_Payment_Gateway_Revolut D

Total Complexity 218
Dependencies 7
Dependents 0
Total lines 1,344
Lines of code 820
Logical lines of code 475
Comment lines 337
Methods 45
Properties 6

Methods 45

Method Rating Maintainability Complexity Lines of code
save_payment_method()
B
39 18 56
handle_revolut_order_result()
B
44 19 39
payment_fields()
B
37 15 80
process_payment()
A
40 12 59
process_refund()
A
43 13 42
save_payment_token_to_order()
A
49 11 28
woocommerce_checkout_revolut_order_processed()
A
43 8 49
update_payment_method_title()
A
49 9 29
get_upsell_banner_html()
A
45 8 42
order_action_from_woocommerce()
A
50 9 25
normalize_payment_methods()
A
52 8 23
save_wc_order_id()
S
48 6 35
maybe_cancel_previous_wc_order()
S
54 7 20
action_revolut_order()
S
59 7 13
verify_order_total()
S
52 6 23
wc_revolut_get_current_page()
S
57 6 19
searchListKeyValue()
S
61 6 12
add_payment_method()
S
52 5 25
admin_notices()
S
61 4 13
checkout_return()
S
58 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
49 1 34
remove_all_payment_tokens()
S
66 3 9
check_currency_support()
S
71 2 6
add_default_options()
S
67 2 8
wc_revolut_get_current_order_key()
S
68 2 8
check_payment_processed()
S
74 2 5
maybe_pay_by_saved_method()
S
69 2 7
get_revolut_order()
S
62 1 13
__construct()
S
59 1 13
pay_by_saved_method()
S
67 1 8
get_icon()
S
91 1 2
handle_add_payment_method()
S
82 1 3
get_selected_payment_token()
S
82 1 3
generate_inline_revolut_form()
S
82 1 3
clear_temp_session()
S
74 1 4
init_scripts()
S
79 1 3
save_payment_method_checkbox()
S
82 1 3
save_payment_method_requested()
S
82 1 3
init_supports()
S
75 1 5
admin_nav_tab()
S
76 1 4
is_using_saved_payment_method()
S
82 1 3
currency_support_error()
S
79 1 3
display_update_subs_payment_checkout()
S
82 1 3