WWP_Wholesale_Prices D

Total Complexity 169
Dependencies 3
Dependents 7
Total lines 1,239
Lines of code 511
Logical lines of code 321
Comment lines 382
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
wholesale_price_html_filter()
D
29
37 118
apply_product_wholesale_price_to_cart()
C
34 29 81
get_product_wholesale_price_on_shop_v3()
A
45 11 38
update_meta_data_with_proper_meta_keys()
A
50 9 27
add_wholesale_price_to_variation_data()
A
57 8 16
printWCNotice()
S
62 8 11
getProductWholesalePrice()
S
51 6 28
get_product_raw_wholesale_price()
S
51 6 28
get_product_wholesale_price_on_cart()
S
59 6 12
apply_taxing_to_wholesale_prices_on_shop_page()
S
59 6 12
get_wholesale_price_suffix()
S
53 5 20
display_replacement_message()
S
59 5 12
hide_price_and_add_to_cart_button()
S
56 4 16
toggle_availability_of_coupons_to_wholesale_users()
S
65 5 8
remove_coupons_for_wholesale_users_when_necessary()
S
67 5 7
get_product_wholesale_price_on_shop_v2()
S
57 2 15
clear_product_transient_on_tax_settings_save()
S
73 3 5
run()
S
56 1 17
filter_product_original_price_visibility()
S
71 2 6
__construct()
S
73 2 5
instance()
S
71 2 6
getInstance()
S
71 2 6
filter_wholesale_price_title_text()
S
75 1 4
get_product_wholesale_price_on_shop()
S
74 1 4
remove_product_prices()
S
80 1 3
getUserProductWholesalePrice()
S
78 1 3
recalculate_cart_totals()
S
82 1 3