WC_Gateway_Reepay D

Total Complexity 251
Dependencies 10
Dependents 1
Total lines 1,669
Lines of code 1,052
Logical lines of code 547
Comment lines 320
Methods 33
Properties 17

Methods 33

Method Rating Maintainability Complexity Lines of code
process_payment()
D
13
66 323
get_order_items()
C
32 30 98
get_logo()
B
38 23 69
is_webhook_configured()
B
38 19 65
process_session_charge()
A
39 9 73
payment_confirm()
A
50 10 27
get_account_info()
S
57 7 16
return_handler()
S
49 6 28
reepay_cancel()
S
53 6 22
get_default_api_url()
S
55 6 18
get_parent_settings()
S
49 5 30
__construct()
S
53 5 21
check_is_active()
S
55 5 18
refund_payment()
S
58 5 15
admin_notice_api_action()
S
55 4 22
payment_scripts()
S
65 5 9
is_configured()
S
66 5 7
process_refund()
S
59 4 15
generate_gateway_status_html()
S
47 2 42
enqueue_payment_scripts()
S
52 3 21
get_icon()
S
57 3 14
get_language()
S
61 3 13
log()
S
60 3 13
cancel_payment()
S
61 3 12
needs_setup()
S
70 3 6
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
can_refund()
S
79 1 3
validate_fields()
S
82 1 3
payment_fields()
S
65 1 10
can_cancel()
S
80 1 3