Code Analysis: YayPricing – WooCommerce Dynamic Pricing & Discounts 3.1

Most Complex Functions

Function Rating Complexity
YAYDP\YAYDP_Activation::convert_old_data()
D
37
YAYDP\Core\Rule\Product_Pricing\YAYDP_Tiered_Pricing::discount_item()
C
27
YAYDP\Helper\YAYDP_Condition_Helper::check_list_conditions()
C
27
YAYDP\Helper\YAYDP_Product_Helper::check_attribute()
C
27
YAYDP\API\Models\YAYDP_Report_Model::filter_orders()
C
22
YAYDP\YAYDP_I18n::get_translations()
B
1
YAYDP\YayCommerceMenu\Other_Plugins_Menu::check_pro_version_exists()
B
23
YAYDP\Core\Rule\Product_Pricing\YAYDP_Tiered_Pricing::create_possible_adjustment_from_cart()
B
17
YAYDP\YayCommerceMenu\Other_Plugins_Menu::yay_recommended_upgrade_plugin()
B
13
YAYDP\YayCommerceMenu\Register_Menu::get_submenus()
B
17
YAYDP\Core\Rule\Product_Pricing\YAYDP_Bulk_Pricing::create_possible_adjustment_from_cart()
B
15
YAYDP\Helper\YAYDP_Matching_Products_Helper::get_raw_matching_products_by_rule()
B
15