Code Analysis: Discount Rules and Dynamic Pricing for WooCommerce 7.3.1

Most Complex Functions

Function Rating Complexity
WCCS_Settings_Manager::get_registered_settings()
D
2
WCCS_Admin_Ajax::save_condition()
D
61
WCCS_Cart::filter_cart_products()
D
53
WCCS_Cart_Discount::get_discount_data()
D
39
WCCS_Public_Product_Pricing::get_bulk_price_html()
D
37
WCCS_Products::get_discounted_products()
D
33
WCCS_Public_Pricing_Hooks::sale_badge_hooks()
C
29
WCCS_Product_Price_Replace::replace_variation_prices()
C
29
WCCS_Admin_Settings_Menu::register_settings()
C
32
WCCS_Date_Time_Validator::is_valid()
C
27
WCCS_Pricing::get_bulk_pricings()
C
27
WCCS_Products::get_products()
C
21