Code Analysis: Maximum Products per User for WooCommerce 4.0.6

Most Complex Functions

Function Rating Complexity
Alg_WC_MPPU_Data::update_quantities()
D
45
Alg_WC_MPPU_Shortcodes::user_product_limits_shortcode()
D
30
Alg_WC_MPPU_Data::calculate_data()
D
31
Alg_WC_MPPU_Core::get_user_already_bought_qty()
D
32
Alg_WC_MPPU_Core::check_quantities_for_product()
D
30
Alg_WC_MPPU_Shortcodes::current_product_limit_shortcode()
C
26
Alg_WC_MPPU_Core::check_quantities()
B
22
Alg_WC_MPPU_Core::get_date_to_check()
B
19
Alg_WC_MPPU_Core::remove_products_from_catalog()
B
20
Alg_WC_MPPU_Core::get_max_qty_for_product()
B
19
Alg_WC_MPPU_Settings_Per_product::get_meta_box_options()
B
15
Alg_WC_MPPU_Settings_General::get_settings()
B
3