Code Analysis: Integrate PhonePe with WooCommerce 1.1.3

Function Rating Maintainability Complexity Lines of code
WC_PhonePe_Gateway::webhook()
A
45 8 39
WC_PhonePe_Gateway::process_payment()
S
39 4 63
WC_PhonePe_Gateway::init_form_fields()
S
45 1 47
Phonepe_Loader::run()
S
66 3 8
Phonepe::__construct()
S
62 2 12
WC_PhonePe_Gateway::__construct()
S
53 1 22
Phonepe::get_plugin_name()
S
82 1 3
WC_PhonePe_Gateway::payment_scripts()
S
91 1 2
Phonepe::get_loader()
S
82 1 3
Phonepe_Admin::sgpe_wc_add_to_gateways()
S
77 1 4
Phonepe_Admin::__construct()
S
77 1 4
Phonepe_i18n::load_plugin_textdomain()
S
69 1 7
Phonepe_Loader::__construct()
S
77 1 4
Phonepe_Loader::add_action()
S
77 1 3
Phonepe_Loader::add_filter()
S
77 1 3
Phonepe_Loader::add()
S
64 1 10
WC_PhonePe_Gateway::validate_fields()
S
91 1 2
Phonepe::get_version()
S
82 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::define_public_hooks()
S
79 1 3
Phonepe_Admin::sgpe_wc_gateway_init()
S
81 1 3
sgppy_run_phonepe()
S
77 1 4
Phonepe::run()
S
82 1 3
Phonepe_Public::__construct()
S
77 1 4
WC_PhonePe_Gateway::payment_fields()
S
91 1 2