Code Analysis: Integrate PhonePe with WooCommerce 1.2.1

Function Rating Maintainability Complexity Lines of code
WC_PhonePe_Gateway::webhook()
A
45 8 39
SGPPY\Reviews\Notice::render()
S
49 6 37
WC_PhonePe_Gateway::process_payment()
S
39 4 62
SGPPY\Reviews\Notice::setup()
S
48 5 33
SGPPY\Reviews\Notice::actions()
S
55 5 19
WC_PhonePe_Gateway::init_form_fields()
S
45 1 47
SGPPY\Reviews\Notice::can_show()
S
69 4 7
sgppy_review()
S
54 2 21
WC_Phonepe_Blocks::get_payment_method_script_handles()
S
57 2 19
Phonepe_Loader::run()
S
66 3 8
SGPPY\Reviews\Notice::get()
S
67 3 7
SGPPY\Reviews\Notice::in_screen()
S
68 3 7
SGPPY\Reviews\Notice::get_classes()
S
66 3 8
Phonepe::__construct()
S
62 2 12
sgppy_register_order_approval_payment_method_type()
S
63 2 12
SGPPY\Reviews\Notice::get_message()
S
61 2 11
WC_PhonePe_Gateway::__construct()
S
53 1 22
SGPPY\Reviews\Notice::is_time()
S
64 2 9
SGPPY\Reviews\Notice::__construct()
S
71 2 6
sgppy_declare_cart_checkout_blocks_compatibility()
S
72 2 5
Phonepe_Admin::__construct()
S
77 1 4
Phonepe_Admin::sgpe_wc_add_to_gateways()
S
77 1 4
Phonepe_Loader::add_filter()
S
77 1 3
WC_PhonePe_Gateway::payment_fields()
S
91 1 2
SGPPY\Reviews\Notice::key()
S
80 1 3
Phonepe::load_dependencies()
S
68 1 7
Phonepe::set_locale()
S
75 1 4
Phonepe::define_admin_hooks()
S
71 1 5
Phonepe::get_version()
S
82 1 3
sgppy_run_phonepe()
S
77 1 4
Phonepe::get_plugin_name()
S
82 1 3
WC_PhonePe_Gateway::payment_scripts()
S
91 1 2
Phonepe::run()
S
82 1 3
WC_Phonepe_Blocks::is_active()
S
81 1 3
Phonepe_i18n::load_plugin_textdomain()
S
69 1 7
Phonepe::get_loader()
S
82 1 3
Phonepe::define_public_hooks()
S
79 1 3
Phonepe_Admin::sgpe_wc_gateway_init()
S
81 1 3
Phonepe_Loader::__construct()
S
77 1 4
WC_Phonepe_Blocks::get_payment_method_data()
S
72 1 6
Phonepe_Loader::add_action()
S
77 1 3
SGPPY\Reviews\Notice::is_dismissed()
S
68 1 8
WC_Phonepe_Blocks::initialize()
S
75 1 4
Phonepe_Public::__construct()
S
77 1 4
Phonepe_Loader::add()
S
64 1 10
SGPPY\Reviews\Notice::is_capable()
S
80 1 3
WC_PhonePe_Gateway::validate_fields()
S
91 1 2