WCCS_Product_Price_Replace B

Total Complexity 86
Dependencies 1
Dependents 0
Total lines 514
Lines of code 401
Logical lines of code 137
Comment lines 28
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
replace_variation_prices()
C
31 29 115
can_read_variation_cached_prices()
A
38 7 79
should_replace()
A
53 9 21
get_price_hash()
S
57 6 14
maybe_cache_price()
S
62 6 11
get_filters()
S
45 1 60
replace()
S
63 4 10
replace_regular_price()
S
62 3 11
enable_hooks()
S
66 3 8
disable_hooks()
S
66 3 8
replace_price()
S
63 2 11
replace_sale_price()
S
63 2 11
get_replaced_price()
S
69 2 6
get_replaced_sale_price()
S
69 2 6
get_replaced_regular_price()
S
69 2 6
__construct()
S
74 1 5
get_variation_prices_hash()
S
75 1 4
set_change_regular_price()
S
77 1 4
set_should_replace_prices()
S
77 1 4
get_variation_pricing_hash()
S
67 1 7