WCCS_Public_Pricing_Hooks D

Total Complexity 178
Dependencies 5
Dependents 1
Total lines 753
Lines of code 604
Logical lines of code 369
Comment lines 28
Methods 30
Properties 6

Methods 30

Method Rating Maintainability Complexity Lines of code
sale_badge_hooks()
C
32 29 120
apply_pricings()
C
34 24 85
quantity_table_hooks()
B
43 18 47
purchase_message_hooks()
B
43 18 47
cart_item_price()
A
47 10 35
enable_price_and_badge_hooks()
A
50 10 26
remove_pricings()
A
51 8 26
get_product_pricing()
S
59 7 13
calculate_cart_totals()
S
61 5 12
enable_price_hooks()
S
62 5 11
cart_loaded_from_session()
S
62 4 11
init()
S
55 3 19
display_purchase_message()
S
63 3 11
get_cart_item_main_price()
S
59 2 16
get_cart_item_main_display_price()
S
59 2 16
get_cart_item_before_discounted_price()
S
60 2 16
enable_change_price_hooks()
S
67 3 8
get_price_html()
S
64 3 10
reset_applied_pricings()
S
65 3 9
remove_sale_flash()
S
66 3 9
disable_price_hooks()
S
65 3 9
percentage_sale_badge()
S
62 2 11
rest_api()
S
72 2 6
display_bulk_pricing_table()
S
68 2 8
woocommerce_product_is_on_sale()
S
71 2 6
__construct()
S
81 1 3
enable_hooks()
S
75 1 4
disable_hooks()
S
75 1 4
should_apply_pricing()
S
79 1 3
display_sale_badge()
S
79 1 3