Code Analysis: YayPricing – WooCommerce Dynamic Pricing & Discounts 3.5.1

Most Complex Functions

Function Rating Complexity
YAYDP\Integrations\ThemeHigh\YAYDP_WooCommerce_Extra_Product_Options_Integration::calculate_extra_cost()
D
69
YAYDP\Integrations\ThemeHigh\YAYDP_WooCommerce_Extra_Product_Options_Integration::prepare_option_field_price_props()
D
51
YAYDP\YAYDP_Activation::convert_old_data()
D
37
YAYDP\Helper\YAYDP_Condition_Helper::check_list_conditions()
D
31
YAYDP\Helper\YAYDP_Product_Helper::check_attribute()
C
31
YAYDP\YAYDP_I18n::get_translations()
C
1
YAYDP\Core\Rule\Product_Pricing\YAYDP_Tiered_Pricing::discount_item()
C
27
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
19
YAYDP\Helper\YAYDP_Helper::check_applicability()
B
19