Code Analysis: YayPricing - WooCommerce Dynamic Pricing And Discounts 2.0

Most Complex Functions

Function Rating Complexity
YAYDP\YAYDP_Activation::convert_old_data()
D
37
YAYDP\Abstracts\YAYDP_Rule::get_incomplete_conditions()
D
33
YAYDP\Core\Product_Pricing\YAYDP_Bulk_Pricing::add_encouraged_notice()
C
24
YAYDP\API\Models\YAYDP_Report_Model::filter_orders()
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\Helper\YAYDP_Condition_Helper::check_conditions()
A
15
YAYDP\Core\Product_Pricing\YAYDP_Simple_Adjustment::add_encouraged_notice()
A
13
YAYDP\API\Controllers\YAYDP_REST_RULE_V1_CONTROLLER::get_matching_products()
A
12
YAYDP\Abstracts\YAYDP_Product_Pricing_Rule::can_apply_to()
A
13
YAYDP\Helper\YAYDP_Condition_Helper::check_cart_item()
A
13