WC_Gateway_Reepay D

Total Complexity 163
Dependencies 7
Dependents 1
Total lines 1,266
Lines of code 778
Logical lines of code 374
Comment lines 289
Methods 25
Properties 17

Methods 25

Method Rating Maintainability Complexity Lines of code
process_payment()
D
16
46 314
get_logo()
B
38 23 69
get_order_items()
B
37 17 75
payment_confirm()
A
50 10 27
payment_scripts()
S
49 7 28
return_handler()
S
49 6 28
reepay_cancel()
S
53 6 22
get_parent_settings()
S
49 5 30
refund_payment()
S
58 5 15
admin_notice_api_action()
S
55 4 22
process_refund()
S
59 4 15
__construct()
S
58 4 14
get_icon()
S
57 3 14
log()
S
60 3 13
get_language()
S
61 3 13
admin_notice_warning()
S
61 3 12
cancel_payment()
S
61 3 12
capture_payment()
S
65 3 9
enqueue_webhook_processing()
S
59 1 16
get_calculated_amount()
S
66 2 8
can_capture()
S
79 1 3
payment_fields()
S
65 1 10
can_refund()
S
79 1 3
can_cancel()
S
80 1 3
validate_fields()
S
82 1 3