WC_Gateway_Reepay_Checkout D

Total Complexity 138
Dependencies 8
Dependents 0
Total lines 1,280
Lines of code 904
Logical lines of code 352
Comment lines 226
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
init_form_fields()
D
19
17 317
__construct()
B
40 19 52
scheduled_subscription_payment()
B
40 16 58
reepay_finalize()
A
38 13 68
add_payment_method()
A
37 8 80
validate_subscription_payment_meta()
S
54 7 21
payment_fields()
S
56 6 19
save_subscription_payment_meta()
S
59 6 14
process_admin_options()
S
59 6 13
reepay_card_store()
S
45 4 39
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
generate_account_info_html()
S
51 2 31
generate_verify_key_html()
S
52 1 30
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
82 1 3
update_failing_payment_method()
S
75 1 4
thankyou_page()
S
81 1 3