WCCS_Public_Pricing_Hooks D

Total Complexity 147
Dependencies 5
Dependents 1
Total lines 655
Lines of code 521
Logical lines of code 318
Comment lines 27
Methods 28
Properties 6

Methods 28

Method Rating Maintainability Complexity Lines of code
sale_badge_hooks()
C
32 29 120
quantity_table_hooks()
B
43 18 47
apply_pricings()
B
38 16 67
cart_item_price()
A
47 10 35
enable_price_and_badge_hooks()
A
50 10 26
remove_pricings()
A
51 8 25
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
get_cart_item_main_display_price()
S
59 2 16
get_cart_item_main_price()
S
59 2 16
get_cart_item_before_discounted_price()
S
60 2 16
init()
S
57 2 16
reset_applied_pricings()
S
65 3 9
remove_sale_flash()
S
66 3 9
disable_price_hooks()
S
65 3 9
enable_change_price_hooks()
S
67 3 8
percentage_sale_badge()
S
62 2 11
display_bulk_pricing_table()
S
68 2 8
get_price_html()
S
69 2 7
woocommerce_product_is_on_sale()
S
71 2 6
rest_api()
S
72 2 6
should_apply_pricing()
S
79 1 3
enable_hooks()
S
75 1 4
display_sale_badge()
S
79 1 3
disable_hooks()
S
75 1 4
__construct()
S
81 1 3