Code Analysis: PaymentsDS - Mpesa Payment Gateway for WooCommerce 0.1.1

Most Complex Classes

Class Rating Complexity
Mpesa_WP_Plugin
S
30

Most Complex Functions

Function Rating Complexity
mpesa_wp_init()
B
2
Mpesa_WP_Plugin::process_action()
A
8
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_Plugin::payment_form_html()
S
1
mpesa_wp_install()
S
2
mpesa_wp_update_check()
S
2