WC_Reepay_Gateway D

Total Complexity 199
Dependencies 3
Dependents 0
Total lines 1,532
Lines of code 1,453
Logical lines of code 587
Comment lines 2
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
scheduled_subscription_payment()
D
17
57 235
process_payment()
D
14
43 391
add_scripts_checkout()
D
18
41 292
__construct()
B
36 14 81
reepay_thankyou()
A
39 11 63
add_reepay_charge_button()
A
38 9 84
init_form_fields()
A
31 1 166
payment_fields()
S
60 5 13
process_refund()
S
49 3 32
admin_options()
S
47 2 44
add_payment_icon()
S
61 4 12
filter_valid_order_statuses_for_cancel()
S
54 2 21
sample_admin_notice_warning()
S
65 3 8
validate_fields()
S
71 3 5
payment_scripts()
S
70 1 6