WCCS_Product_Price_Replace B

Total Complexity 87
Dependencies 3
Dependents 0
Total lines 510
Lines of code 396
Logical lines of code 140
Comment lines 28
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
replace_variation_prices()
C
31 29 111
can_read_variation_cached_prices()
A
38 7 80
should_replace()
A
53 9 21
get_price_hash()
S
57 6 14
maybe_cache_price()
S
60 6 13
replace()
S
60 5 13
get_filters()
S
46 1 53
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