WC_GZD_Product_Variable C

Total Complexity 107
Dependencies 2
Dependents 0
Total lines 715
Lines of code 391
Logical lines of code 202
Comment lines 221
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
get_variation_unit_prices()
D
29 31 126
get_variation_product_units()
A
45 13 38
recalculate_unit_price()
A
42 11 53
get_current_unit_price_hash()
S
51 7 26
get_unit_product_html()
S
44 5 49
get_unit_price_html()
S
52 6 23
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_to()
S
65 2 9
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
set_unit_prices()
S
68 2 7
show_unit_product_ranges()
S
77 1 3