Code Analysis: YayPricing – WooCommerce Dynamic Pricing & Discounts 3.4

Most Complex Functions

Function Rating Complexity
YAYDP\YAYDP_Activation::convert_old_data()
D
37
YAYDP\Helper\YAYDP_Product_Helper::check_attribute()
C
31
YAYDP\Helper\YAYDP_Condition_Helper::check_list_conditions()
C
28
YAYDP\Core\Rule\Product_Pricing\YAYDP_Tiered_Pricing::discount_item()
C
27
YAYDP\YAYDP_I18n::get_translations()
C
1
YAYDP\API\Models\YAYDP_Report_Model::filter_orders()
C
22
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\Core\Discount_Type\YAYDP_Filter_Discount::get_free_receive_items()
B
17
YAYDP\Helper\YAYDP_Helper::check_applicability()
B
17
YAYDP\YayCommerceMenu\Other_Plugins_Menu::yay_recommended_upgrade_plugin()
B
13