WC_Gateway_Reepay D

Total Complexity 201
Dependencies 8
Dependents 1
Total lines 1,439
Lines of code 898
Logical lines of code 454
Comment lines 298
Methods 27
Properties 17

Methods 27

Method Rating Maintainability Complexity Lines of code
process_payment()
D
15
56 293
get_order_items()
C
32 30 98
get_logo()
B
38 23 69
process_session_charge()
A
39 9 72
payment_confirm()
A
50 10 27
payment_scripts()
S
49 7 28
is_configured()
S
55 7 17
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
59 4 13
generate_gateway_status_html()
S
47 2 42
get_icon()
S
57 3 14
log()
S
60 3 13
get_language()
S
61 3 13
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
payment_fields()
S
65 1 10
can_refund()
S
79 1 3
can_cancel()
S
80 1 3
can_capture()
S
79 1 3
validate_fields()
S
82 1 3