WC_GZD_Product_Variable C

Total Complexity 114
Dependencies 2
Dependents 0
Total lines 784
Lines of code 443
Logical lines of code 218
Comment lines 230
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
get_variation_unit_prices()
D
29 31 126
recalculate_unit_price()
A
37 13 86
get_variation_product_units()
A
45 13 38
get_current_unit_price_hash()
S
51 7 26
get_unit_price_html()
S
51 7 25
get_unit_product_html()
S
44 5 49
set_unit_prices()
S
53 6 24
get_price_html_from_to()
S
66 7 6
has_unit()
S
68 5 7
is_on_unit_sale()
S
65 3 8
has_unit_fields()
S
71 3 6
has_unit_product()
S
70 3 6
get_variation_unit_regular_price()
S
70 2 5
get_current_price_from()
S
65 2 9
get_variation_unit_sale_price()
S
70 2 5
get_variation_unit_price()
S
70 2 5
get_current_price_to()
S
65 2 9
show_unit_product_ranges()
S
77 1 3