Code Analysis: YayPricing – WooCommerce Dynamic Pricing & Discounts 2.4.1

Most Complex Functions

Function Rating Complexity
YAYDP\YAYDP_Activation::convert_old_data()
D
37
YAYDP\API\Models\YAYDP_Report_Model::filter_orders()
C
22
YAYDP\Helper\YAYDP_Condition_Helper::check_conditions()
B
22
YAYDP\YayCommerceMenu\Other_Plugins_Menu::check_pro_version_exists()
B
23
YAYDP\YayCommerceMenu\Other_Plugins_Menu::yay_recommended_upgrade_plugin()
B
13
YAYDP\Helper\YAYDP_Matching_Products_Helper::get_raw_matching_products_by_rule()
B
15
YAYDP\Core\Rule\Product_Pricing\YAYDP_Buy_X_Get_Y::get_list_receive_items_for_free_case()
A
15
YAYDP\Core\Rule\Product_Pricing\YAYDP_Buy_X_Get_Y::get_list_receive_items_for_discount_case()
A
15
YAYDP\Helper\YAYDP_Helper::check_applicability()
A
14
YAYDP\Helper\YAYDP_Incomplete_Condition_Helper::get_incomplete_conditions()
A
13
YAYDP\Helper\YAYDP_Condition_Helper::check_order_history_product()
A
12
YAYDP\Core\Discount_Type\YAYDP_Variations_Discount::get_discount_receive_items()
A
12