UPI_WC_Payment_Gateway D

Total Complexity 142
Dependencies 0
Dependents 0
Total lines 1,006
Lines of code 737
Logical lines of code 290
Comment lines 161
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
generate_qr_code()
C
30 23 140
payment_fields()
B
36 15 63
init_form_fields()
A
26
1 229
render_column()
A
46 12 37
capture_payment()
A
42 11 46
validate_fields()
A
54 11 19
payment_scripts()
A
41 9 49
process_payment()
A
49 8 26
email_instructions()
S
68 8 5
custom_checkout_url()
S
67 7 6
on_hold_payment()
S
67 6 6
__construct()
S
41 2 54
email_subject_pending_order()
S
68 5 6
email_additional_content_pending_order()
S
68 5 6
email_heading_pending_order()
S
68 5 6
order_received_text()
S
69 4 6
disable_gateway()
S
69 4 6
admin_options()
S
63 2 13
is_valid_for_use()
S
70 2 6
column_item()
S
75 1 4
get_vpa()
S
74 1 4