WC_Gateway_Reepay_Checkout D

Total Complexity 133
Dependencies 9
Dependents 0
Total lines 1,145
Lines of code 796
Logical lines of code 316
Comment lines 225
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
__construct()
B
38 22 60
process_admin_options()
B
40 17 58
init_form_fields()
B
24
4 243
scheduled_subscription_payment()
B
40 16 58
reepay_finalize()
A
38 13 68
validate_subscription_payment_meta()
S
54 7 21
add_payment_method()
S
42 5 51
payment_fields()
S
56 6 19
save_subscription_payment_meta()
S
59 6 14
reepay_card_store()
S
46 4 37
maybe_render_subscription_payment_method()
S
56 5 18
save_new_payment_method_option_html()
S
56 5 17
add_subscription_card_id()
S
58 5 16
generate_webhook_status_html()
S
47 2 43
renewal_order_created()
S
62 4 12
add_subscription_payment_meta()
S
57 3 18
admin_options()
S
60 2 13
add_payment_token_id()
S
67 2 7
delete_resubscribe_meta()
S
67 2 8
generate_separator_html()
S
71 1 8
update_failing_payment_method()
S
75 1 4
thankyou_page()
S
81 1 3