Code Analysis: Discount Rules and Dynamic Pricing for WooCommerce 5.5.0

Most Complex Functions

Function Rating Complexity
WCCS_Settings_Manager::get_registered_settings()
D
2
WCCS_Admin_Ajax::save_condition()
D
60
WCCS_Cart::filter_cart_products()
D
53
WCCS_Cart_Discount::get_possible_discounts()
D
37
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
31
WCCS_Admin_Assets::get_script_data()
C
2
WCCS_Pricing::get_bulk_pricings()
C
27
WCCS_Products::get_products()
C
21
WCCS_Cart_Items_Helpers::products_exists_in_items()
B
24