WCCS_Public_Pricing_Hooks C

Total Complexity 109
Dependencies 4
Dependents 1
Total lines 479
Lines of code 383
Logical lines of code 261
Comment lines 16
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
sale_badge_hooks()
C
32 29 120
quantity_table_hooks()
B
43 18 47
apply_pricings()
A
39 14 65
cart_item_price()
S
50 7 29
remove_pricings()
S
52 7 23
get_product_pricing()
S
59 7 13
cart_loaded_from_session()
S
58 6 15
calculate_cart_totals()
S
61 5 12
__construct()
S
58 2 15
enable_price_and_badge_hooks()
S
65 3 9
reset_applied_pricings()
S
72 2 6
get_cart_item_main_price()
S
69 2 6
get_cart_item_main_display_price()
S
69 2 6
get_cart_item_before_discounted_price()
S
69 2 6
should_apply_pricing()
S
79 1 3
display_bulk_pricing_table()
S
74 1 5
display_sale_badge()
S
79 1 3