WC_Gateway_Reepay D

Total Complexity 189
Dependencies 8
Dependents 1
Total lines 1,367
Lines of code 846
Logical lines of code 423
Comment lines 291
Methods 26
Properties 17

Methods 26

Method Rating Maintainability Complexity Lines of code
process_payment()
D
15
55 300
get_order_items()
C
34 25 90
get_logo()
B
38 23 69
process_session_charge()
A
40 9 67
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
validate_fields()
S
82 1 3
payment_fields()
S
65 1 10
can_cancel()
S
80 1 3
can_refund()
S
79 1 3