Code Analysis: UPI QR Code Payment Gateway 1.2.0

Function Rating Maintainability Complexity Lines of code
dwu_payment_gateway_init()
D
13
2 538
DWU_Payment_Gateway::dwu_generate_qr_code()
C
31 24 101
DWU_Payment_Gateway::dwu_init_form_fields()
A
28
1 192
DWU_Payment_Gateway::validate_fields()
A
56 10 16
DWU_Payment_Gateway::payment_fields()
A
41 8 45
DWU_Payment_Gateway::dwu_capture_payment()
A
50 8 25
DWU_Payment_Gateway::process_payment()
A
51 8 23
DEW_Woo_upi::dwu_write_response()
S
50 6 27
DWU_Notice::dwu_dismiss_rating_admin_notice()
S
53 6 24
DWU_Donate::dwu_dismiss_donate_admin_notice()
S
53 6 24
DEW_Woo_upi::uninstall()
S
54 6 22
DWU_Payment_Gateway::dwu_email_instructions()
S
68 7 5
DWU_Donate::dwu_donate_admin_notice()
S
55 5 18
DWU_Notice::dwu_rating_admin_notice()
S
56 5 17
DWU_Payment_Gateway::dwu_custom_checkout_url()
S
68 6 6
DWU_Payment_Gateway::dwu_payment_scripts()
S
55 4 18
DWU_Payment_Gateway::__construct()
S
42 2 47
DWU_Payment_Gateway::dwu_on_hold_payment()
S
68 5 6
DEW_Woo_upi::dwu_add_debug_bar_menu()
S
55 3 20
DWU_Payment_Gateway::dwu_email_heading_pending_order()
S
69 4 6
DWU_Payment_Gateway::dwu_email_subject_pending_order()
S
69 4 6
DWU_Payment_Gateway::dwu_email_additional_content_pending_order()
S
68 4 6
DEW_Woo_upi::install()
S
59 3 13
DWU_Notice::dwu_sample_admin_notice_success()
S
62 3 11
DWU_Payment_Gateway::dwu_disable_gateway()
S
70 3 6
DWU_Payment_Gateway::dwu_order_received_text()
S
70 3 6
DWU_Payment_Gateway::admin_options()
S
63 2 13
DWU_Donate::dwu_installed_time_donate()
S
68 2 8
DEW_Woo_upi::dwu_add_action_links()
S
64 2 9
DEW_Woo_upi::dwu_check_network_activation()
S
67 2 7
DEW_Woo_upi::dew_upi_plugin_meta_links()
S
66 2 8
DWU_Notice::dwu_plugin_get_installed_time()
S
68 2 8
DWU_Payment_Gateway::is_valid_for_use()
S
70 2 6
DEW_Woo_upi::dwu_woocommerce_payment_add_gateway_class()
S
77 1 4
DWU_Donate::__construct()
S
79 1 3
DEW_Woo_upi::dwu_load_textdomain()
S
78 1 3
DEW_Woo_upi::__construct()
S
62 1 10
dwu_woocommerce_payment_add_gateway_class()
S
77 1 4
DEW_Woo_upi::dwu_uninstall()
S
66 1 9
DWU_Notice::__construct()
S
72 1 5