WC_Gateway_Revolut_CC B

Total Complexity 82
Dependencies 6
Dependents 2
Total lines 662
Lines of code 421
Logical lines of code 174
Comment lines 152
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
generate_inline_revolut_form()
A
50 9 22
scheduled_subscription_payment()
S
46 6 40
change_subs_payment_method()
S
49 6 31
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
maybe_render_subscription_payment_method()
S
59 4 13
__construct()
S
50 3 26
is_save_payment_method_mandatory()
S
66 4 9
has_subscription()
S
77 4 3
update_payment_subscription_method()
S
59 2 16
process_payment()
S
65 3 10
is_available()
S
70 3 6
is_using_saved_payment_method()
S
76 3 3
get_selected_payment_token()
S
64 3 9
init_supports()
S
57 1 19
differentiate_change_payment_method_form()
S
59 1 17
check_currency_support()
S
71 2 6
cart_contains_subscription()
S
68 2 8
update_changed_subscription_token()
S
70 2 6
update_all_subscriptions_payment_method()
S
78 2 3
getSvgImage()
S
64 1 14
save_payment_method_requested()
S
80 1 3
get_icon()
S
67 1 7
load_payment_scripts()
S
82 1 3
update_failing_payment_method()
S
72 1 5
delete_resubscribe_meta()
S
73 1 5