Code Analysis: Maximum Products per User for WooCommerce 3.6.9

Most Complex Functions

Function Rating Complexity
Alg_WC_MPPU_Data::update_quantities()
D
37
Alg_WC_MPPU_Data::calculate_data()
D
31
Alg_WC_MPPU_Core::check_quantities_for_product()
D
30
Alg_WC_MPPU_Shortcodes::current_product_limit_shortcode()
C
24
Alg_WC_MPPU_Core::check_quantities()
B
22
Alg_WC_MPPU_Core::remove_products_from_catalog()
B
20
Alg_WC_MPPU_Shortcodes::user_product_limits_shortcode()
B
18
Alg_WC_MPPU_Core::get_max_qty_for_product()
B
18
Alg_WC_MPPU_Settings_Per_product::get_meta_box_options()
B
15
Alg_WC_MPPU_Core::get_user_already_bought_qty()
A
16
Alg_WC_MPPU_Core::get_first_order_date_exp()
A
15
Alg_WC_MPPU_Core::is_product_blocked_for_guests()
A
15