Code Analysis: Moolre Payment Gateway for WooCommerce 1.2.4

Function Rating Maintainability Complexity Lines of code
MPWP_Moolre_Payment_Gateway::process_payment()
A
39 11 61
MPWP_Moolre_Payment_Gateway::mpwp_verify_moolre_transaction()
A
46 8 40
MPWP_Moolre_Payment_Gateway::get_mpwp_moolre_transaction()
S
49 6 28
MPWP_Moolre_Payment_Gateway::init_form_fields()
S
42 1 62
MPWP_Moolre_Payment_Gateway::admin_notices()
S
59 4 15
MPWP_Moolre_Payment_Gateway_Blocks::get_payment_method_script_handles()
S
54 3 23
MPWP_Moolre_Payment_Gateway::is_available()
S
66 4 9
initialize_mpwp_moolre_n_gateway()
S
65 3 9
mpwp_moolre_admin_notice_missing_woocommerce()
S
62 2 14
mpwp_moolre_register_order_approval_payment_method_type()
S
61 2 13
MPWP_Moolre_Payment_Gateway::__construct()
S
53 1 21
mpwp_moolre_declare_cart_checkout_blocks_compatibility()
S
72 2 5
MPWP_Moolre_Payment_Gateway::install()
S
73 2 5
MPWP_Moolre_Payment_Gateway::uninstall()
S
73 2 5
MPWP_Moolre_Payment_Gateway::add_actions()
S
64 2 9
mpwp_moolre_is_woocommerce_active()
S
70 2 6
MPWP_Moolre_Payment_Gateway::mpwp_is_autocomplete_order_enabled()
S
68 2 8
MPWP_Moolre_Payment_Gateway::get_instance()
S
72 2 6
MPWP_Moolre_Payment_Gateway::__wakeup()
S
80 1 3
MPWP_Moolre_Payment_Gateway_Blocks::__construct()
S
81 1 3
MPWP_Moolre_Payment_Gateway::mpwp_receipt_page()
S
66 1 7
MPWP_Moolre_Payment_Gateway::payment_fields()
S
77 1 4
MPWP_Moolre_Payment_Gateway::mpwp_add_custom_nonce()
S
80 1 3
MPWP_Moolre_Payment_Gateway_Blocks::is_active()
S
77 1 4
MPWP_Moolre_Payment_Gateway::__clone()
S
80 1 3
MPWP_Moolre_Payment_Gateway_Blocks::initialize()
S
79 1 3
add_mpwp_moolre_payment_gateway()
S
77 1 4
MPWP_Moolre_Payment_Gateway_Blocks::get_payment_method_data()
S
65 1 9