WWP_Wholesale_Prices D

Total Complexity 208
Dependencies 4
Dependents 8
Total lines 1,665
Lines of code 836
Logical lines of code 376
Comment lines 532
Methods 35
Properties 3

Methods 35

Method Rating Maintainability Complexity Lines of code
wholesale_price_html_filter()
D
26
40 141
apply_product_wholesale_price_to_cart()
D
29 35 123
get_product_wholesale_price_on_shop_v3()
A
41 11 60
printWCNotice()
A
57 12 15
add_wholesale_price_to_variation_data()
A
55 10 19
update_meta_data_with_proper_meta_keys()
A
50 9 27
get_product_raw_wholesale_price()
A
48 7 35
wc_cart_block_price_html()
A
56 8 17
getProductWholesalePrice()
S
50 6 29
apply_taxing_to_wholesale_prices_on_shop_page()
S
53 6 24
get_product_wholesale_price_on_cart()
S
53 6 22
get_wholesale_price_suffix()
S
47 5 36
run()
S
39 1 91
filter_product_price()
S
54 5 20
hide_price_and_add_to_cart_button()
S
52 4 23
hide_add_to_cart_button_wc_blocks()
S
56 4 17
toggle_availability_of_coupons_to_wholesale_users()
S
65 5 8
remove_coupons_for_wholesale_users_when_necessary()
S
67 5 7
display_replacement_message()
S
68 4 6
filter_product_original_price_visibility()
S
59 3 14
get_product_wholesale_price_on_shop_v2()
S
53 2 25
clear_product_transient_on_tax_settings_save()
S
73 3 5
__construct()
S
73 2 5
getInstance()
S
71 2 6
instance()
S
70 2 6
get_price_and_add_to_cart_replacement_message()
S
64 2 9
wc_cart_item_block_wwp_data()
S
63 1 11
get_cart_block_item_wwp_schema()
S
66 1 9
get_cart_block_item_wwp_data()
S
73 1 5
recalculate_cart_totals()
S
82 1 3
filter_wholesale_regular_price_title_text()
S
75 1 4
filter_wholesale_price_title_text()
S
75 1 4
getUserProductWholesalePrice()
S
78 1 3
get_product_wholesale_price_on_shop()
S
74 1 4
remove_product_prices()
S
82 1 3