RZP_WC_Payment_Gateway C

Total Complexity 119
Dependencies 2
Dependents 0
Total lines 1,037
Lines of code 654
Logical lines of code 310
Comment lines 216
Methods 22
Properties 19

Methods 22

Method Rating Maintainability Complexity Lines of code
process_payment()
B
35 17 78
process_refund()
A
42 10 44
auto_enable_webhook()
A
41 9 57
cancel_payment_link()
A
50 11 24
init_form_fields()
A
31 1 161
__construct()
A
39 7 59
capture_payment()
A
43 8 44
process_webhook()
A
52 9 24
webhook_refund_order()
S
48 6 29
can_refund_order()
S
64 6 9
webhook_update_order()
S
58 5 13
custom_checkout_url()
S
66 5 7
api_data()
S
56 3 18
get_wc_customer_info()
S
57 3 16
order_received_text()
S
69 4 6
process_admin_options()
S
63 3 11
log()
S
67 3 8
admin_options()
S
62 2 14
webhook_data()
S
63 2 10
get_wc_order_key()
S
71 2 6
get_wc_order_currency()
S
71 2 6
is_valid_for_use()
S
58 1 10