Code Analysis: YayPricing – WooCommerce Dynamic Pricing & Discounts 3.3

Most Complex Functions

Function Rating Complexity
YAYDP\YAYDP_Activation::convert_old_data()
D
37
YAYDP\Helper\YAYDP_Condition_Helper::check_list_conditions()
C
28
YAYDP\Core\Rule\Product_Pricing\YAYDP_Tiered_Pricing::discount_item()
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\Core\Rule\Product_Pricing\YAYDP_Bulk_Pricing::create_possible_adjustment_from_cart()
B
20
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\Abstracts\YAYDP_Rule::is_end_in_future()
B
17