Code Analysis: UPI QR Code Payment Gateway 1.4.4

Function Rating Maintainability Complexity Lines of code
UPI_WC_Payment_Gateway::generate_qr_code()
C
30 23 139
UPI_WC_Payment_Gateway::payment_fields()
B
36 15 63
UPI_WC_Payment_Gateway::capture_payment()
A
40 15 54
UPI_WC_Payment_Gateway::init_form_fields()
A
26
1 229
UPI_WC_Payment_Gateway::render_column()
A
46 12 37
UPIWC::admin_notice()
A
43 11 47
UPIWC::dismiss_notice()
A
47 10 35
UPI_WC_Payment_Gateway::validate_fields()
A
54 11 19
UPI_WC_Payment_Gateway::payment_scripts()
A
41 9 49
UPI_WC_Payment_Gateway::process_payment()
A
49 8 26
UPI_WC_Payment_Gateway::email_instructions()
S
68 8 5
UPI_WC_Payment_Gateway::custom_checkout_url()
S
67 7 6
UPI_WC_Payment_Gateway::on_hold_payment()
S
67 6 6
UPI_WC_Payment_Gateway::__construct()
S
41 2 53
UPI_WC_Payment_Gateway::email_additional_content_pending_order()
S
68 5 6
UPI_WC_Payment_Gateway::email_subject_pending_order()
S
68 5 6
UPI_WC_Payment_Gateway::email_heading_pending_order()
S
68 5 6
UPIWC::is_requirements_meet()
S
58 4 14
UPI_WC_Payment_Gateway_Blocks_Support::get_payment_method_script_handles()
S
54 3 22
UPI_WC_Payment_Gateway::order_received_text()
S
69 4 6
UPI_WC_Payment_Gateway::disable_gateway()
S
69 4 6
UPI_WC_Payment_Gateway_Blocks_Support::get_payment_method_data()
S
49 2 22
UPIWC::get()
S
68 3 7
UPI_WC_Payment_Gateway::admin_options()
S
63 2 13
UPIWC::block_support()
S
64 2 11
UPIWC::instantiate()
S
57 1 19
UPIWC::auto_deactivate()
S
71 2 6
UPIWC::plugin_row_meta()
S
63 2 10
UPIWC::calculate_time()
S
67 2 8
UPI_WC_Payment_Gateway::is_valid_for_use()
S
70 2 6
UPIWC::setup()
S
68 2 8
UPIWC::declare_compatibility()
S
71 2 5
UPIWC::load_gateway()
S
73 2 5
UPI_WC_Payment_Gateway_Blocks_Support::get_supported_features()
S
66 2 8
UPI_WC_Payment_Gateway_Blocks_Support::is_active()
S
77 2 3
UPIWC::init_actions()
S
61 1 11
UPIWC::activation_error()
S
69 1 9
UPIWC::action_links()
S
73 1 4
UPIWC::localization_setup()
S
78 1 3
UPI_WC_Payment_Gateway_Blocks_Support::initialize()
S
78 1 3
UPI_WC_Payment_Gateway::column_item()
S
75 1 4
UPIWC::define_constants()
S
73 1 7
UPIWC::register_gateway()
S
77 1 4
UPI_WC_Payment_Gateway::get_vpa()
S
74 1 4
upiwc()
S
82 1 3