Code Analysis: YayPricing - WooCommerce Dynamic Pricing And Discounts 2.2

Most Complex Functions

Function Rating Complexity
YAYDP\YAYDP_Activation::convert_old_data()
D
37
YAYDP\Helper\YAYDP_Helper::get_min_max_discount_percentages()
D
34
YAYDP\Abstracts\YAYDP_Rule::get_incomplete_conditions()
D
33
YAYDP\Core\Product_Pricing\YAYDP_Bulk_Pricing::add_encouraged_notice()
C
24
YAYDP\Helper\YAYDP_Condition_Helper::check_conditions()
B
20
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\Core\Product_Pricing\YAYDP_Simple_Adjustment::add_encouraged_notice()
A
13
YAYDP\Core\YAYDP_Product_Pricing_Manager::get_sale_tag()
A
13
YAYDP\API\Controllers\YAYDP_REST_RULE_V1_CONTROLLER::get_matching_products()
A
12