WC_UPI_Payment_Gateway C

Total Complexity 108
Dependencies 0
Dependents 0
Total lines 759
Lines of code 532
Logical lines of code 209
Comment lines 146
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
generate_qr_code()
C
31 26 100
init_form_fields()
A
28
1 191
validate_fields()
A
54 11 19
payment_fields()
A
41 8 45
capture_payment()
A
50 8 25
process_payment()
A
50 8 25
email_instructions()
S
68 7 5
custom_checkout_url()
S
68 6 6
__construct()
S
42 2 47
on_hold_payment()
S
68 5 6
email_subject_pending_order()
S
69 4 6
email_heading_pending_order()
S
69 4 6
email_additional_content_pending_order()
S
68 4 6
disable_gateway()
S
69 4 6
payment_scripts()
S
58 3 14
order_received_text()
S
70 3 6
admin_options()
S
63 2 13
is_valid_for_use()
S
70 2 6