UPI_WC_Payment_Gateway D

Total Complexity 137
Dependencies 0
Dependents 0
Total lines 953
Lines of code 689
Logical lines of code 270
Comment lines 161
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
generate_qr_code()
B
31 19 127
payment_fields()
B
36 15 63
init_form_fields()
A
26
1 217
render_column()
A
46 12 37
payment_scripts()
A
42 11 45
validate_fields()
A
54 11 19
capture_payment()
A
49 8 28
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 53
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