WC_Gateway_Reepay_Checkout D

Total Complexity 130
Dependencies 9
Dependents 0
Total lines 1,071
Lines of code 745
Logical lines of code 310
Comment lines 209
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
__construct()
B
38 22 60
process_admin_options()
B
40 17 58
scheduled_subscription_payment()
B
41 16 57
reepay_finalize()
A
38 13 68
init_form_fields()
A
26
3 208
validate_subscription_payment_meta()
S
54 7 21
add_payment_method()
S
42 5 51
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
payment_fields()
S
57 5 17
add_subscription_card_id()
S
58 5 16
renewal_order_created()
S
62 4 12
generate_webhook_status_html()
S
48 2 38
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
update_failing_payment_method()
S
75 1 4
thankyou_page()
S
81 1 3