Code Analysis: WooCommerce Wholesale Prices 2.0.2

Most Complex Functions

Function Rating Complexity
WWP_Script_Loader::load_back_end_styles_and_scripts()
D
37
WWP_Wholesale_Prices::wholesale_price_html_filter()
D
37
WWP_Admin_Custom_Fields_Variable_Product::save_wholesale_price_fields()
C
30
WWP_Wholesale_Prices::apply_product_wholesale_price_to_cart()
C
29
WWP_Wholesale_Prices_For_Non_Wholesale_Customers::display_replacement_message_to_non_wholesale()
B
24
WWP_Helper_Functions::wwp_woocommerce_wp_text_input()
B
20
WWP_Admin_Custom_Fields_Variable_Product::add_wholesale_price_fields()
B
15
WWP_REST_Wholesale_Products_V1_Controller::batch_items()
B
15
WWP_Dashboard::wholesale_order_form_license_cache()
B
18
WWP_Dashboard::wholesale_lead_capture_license_cache()
B
18
WWP_Dashboard::wholesale_prices_premium_license_cache()
B
18
WWP_Usage::get_data()
B
17