WC_Gateway_Revolut_CC B

Total Complexity 84
Dependencies 6
Dependents 2
Total lines 656
Lines of code 420
Logical lines of code 178
Comment lines 148
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
change_subs_payment_method()
A
45 12 37
generate_inline_revolut_form()
A
50 9 22
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
maybe_render_subscription_payment_method()
S
59 4 13
__construct()
S
50 3 26
has_subscription()
S
77 4 3
is_save_payment_method_mandatory()
S
66 4 9
update_payment_subscription_method()
S
59 2 16
get_selected_payment_token()
S
66 3 8
is_available()
S
70 3 6
init_supports()
S
57 1 19
differentiate_change_payment_method_form()
S
59 1 17
update_changed_subscription_token()
S
66 2 8
cart_contains_subscription()
S
68 2 8
check_currency_support()
S
71 2 6
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
get_icon()
S
67 1 7