Code Analysis: YayPricing – WooCommerce Dynamic Pricing & Discounts 2.3.1

Most Complex Functions

Function Rating Complexity
YAYDP\Abstracts\YAYDP_Rule::get_incomplete_conditions()
D
46
YAYDP\YAYDP_Activation::convert_old_data()
D
37
YAYDP\Helper\YAYDP_Helper::get_min_max_discount_percentages()
D
34
YAYDP\Core\Product_Pricing\YAYDP_Bulk_Pricing::add_encouraged_notice()
C
24
YAYDP\Helper\YAYDP_Condition_Helper::check_conditions()
B
22
YAYDP\Core\Product_Pricing\YAYDP_Virtual_Cart::calculate_cart()
B
22
YAYDP\YayCommerceMenu\Other_Plugins_Menu::check_pro_version_exists()
B
23
YAYDP\Core\Product_Pricing\YAYDP_Buy_X_Get_Y::add_encouraged_notice()
B
16
YAYDP\Core\Product_Pricing\YAYDP_Buy_X_Get_Y::get_possible_buy_cases()
B
16
YAYDP\YayCommerceMenu\Other_Plugins_Menu::yay_recommended_upgrade_plugin()
B
13
YAYDP\Core\Product_Pricing\YAYDP_BOGO::add_encouraged_notice()
B
15
YAYDP\Abstracts\YAYDP_Product_Pricing_Rule::can_apply_to()
B
16