WC_Gateway_Revolut_CC B

Total Complexity 88
Dependencies 6
Dependents 4
Total lines 681
Lines of code 431
Logical lines of code 186
Comment lines 153
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
change_subs_payment_method()
A
45 12 37
generate_inline_revolut_form()
A
51 9 21
scheduled_subscription_payment()
S
46 6 40
init_form_fields()
S
37 1 92
handle_add_payment_method()
S
58 5 16
save_payment_method_checkbox()
S
63 6 9
display_update_subs_payment_checkout()
S
55 4 20
process_payment()
S
62 5 10
is_available()
S
65 5 9
maybe_render_subscription_payment_method()
S
59 4 13
__construct()
S
50 3 26
get_icon()
S
57 3 16
has_subscription()
S
77 4 3
is_save_payment_method_mandatory()
S
66 4 9
cart_contains_subscription()
S
63 3 11
update_payment_subscription_method()
S
59 2 16
get_selected_payment_token()
S
66 3 8
init_supports()
S
57 1 19
differentiate_change_payment_method_form()
S
59 1 17
update_changed_subscription_token()
S
66 2 8
getSvgImage()
S
64 1 14
delete_resubscribe_meta()
S
73 1 5
load_payment_scripts()
S
82 1 3
update_failing_payment_method()
S
70 1 6
check_currency_support()
S
79 1 3