WC_GZD_Product_Variable B

Total Complexity 85
Dependencies 2
Dependents 0
Total lines 562
Lines of code 295
Logical lines of code 153
Comment lines 192
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
get_variation_unit_prices()
D
29 31 126
recalculate_unit_price()
A
42 11 53
get_current_unit_price_hash()
S
51 7 26
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
get_variation_unit_regular_price()
S
70 2 5
get_variation_unit_sale_price()
S
70 2 5
get_variation_unit_price()
S
70 2 5
get_current_price_from()
S
65 2 9
get_current_price_to()
S
65 2 9
set_unit_prices()
S
68 2 7