Code Analysis: YayPricing – WooCommerce Dynamic Pricing & Discounts 2.3

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\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\Core\Product_Pricing\YAYDP_BOGO::add_encouraged_notice()
B
15
YAYDP\Abstracts\YAYDP_Product_Pricing_Rule::can_apply_to()
B
16
YAYDP\Helper\YAYDP_MATCHING_PRODUCTS_HELPER::get_raw_matching_products_by_rule()
B
15
YAYDP\Core\Product_Pricing\YAYDP_Simple_Adjustment::add_encouraged_notice()
A
13