WC_Gateway_Revolut_CC B

Total Complexity 91
Dependencies 6
Dependents 5
Total lines 691
Lines of code 438
Logical lines of code 190
Comment lines 156
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
change_subs_payment_method()
A
45 12 37
generate_inline_revolut_form()
A
50 10 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
__construct()
S
49 4 28
display_update_subs_payment_checkout()
S
55 4 20
process_payment()
S
62 5 10
maybe_render_subscription_payment_method()
S
59 4 13
get_icon()
S
56 3 18
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
is_available()
S
70 3 6
page_supported()
S
71 3 6
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
load_payment_scripts()
S
82 1 3
check_currency_support()
S
79 1 3
delete_resubscribe_meta()
S
73 1 5
update_failing_payment_method()
S
70 1 6