Code Analysis: PaymentsDS - Mpesa Payment Gateway for WooCommerce 1.0.1

Most Complex Classes

Class Rating Complexity
Mpesa_WP_Plugin
S
36

Most Complex Functions

Function Rating Complexity
mpesa_wp_init()
C
2
Mpesa_WP_Plugin::process_action()
A
8
Mpesa_WP_Plugin::process_refund()
S
6
Mpesa_WP_Plugin::payment_fields()
S
4
Mpesa_WP_Plugin::payment_scripts()
S
3
Mpesa_WP_Plugin::wc_mpesa_validate_number()
S
4
Mpesa_WP_Plugin::wc_minimum_order_amount()
S
3
Mpesa_WP_Plugin::validate_fields()
S
3
Mpesa_WP_Plugin::init_form_fields()
S
1
Mpesa_WP_Plugin::__construct()
S
1
mpesa_wp_install()
S
2
Mpesa_WP_Plugin::payment_form_html()
S
1