WC_GZD_Order_Item_Product S

Total Complexity 49
Dependencies 1
Dependents 0
Total lines 257
Lines of code 166
Logical lines of code 83
Comment lines 31
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
get_formatted_unit_price()
S
55 7 19
recalculate_unit_price()
S
46 4 41
get_formatted_product_units()
S
56 3 17
get_min_age()
S
66 4 8
needs_age_verification()
S
65 4 9
has_unit_price()
S
71 3 5
has_unit_product()
S
75 3 4
set_unit_base()
S
80 1 3
set_unit_price_subtotal_net()
S
79 1 3
get_unit_price_subtotal_net()
S
79 1 3
set_unit_price_net()
S
79 1 3
get_unit_price_net()
S
79 1 3
set_unit_price_subtotal()
S
79 1 3
get_unit_price_subtotal()
S
79 1 3
set_unit_price()
S
79 1 3
get_unit_price()
S
79 1 3
get_formatted_unit_base()
S
80 1 3
get_unit_base()
S
79 1 3
get_unit_product()
S
79 1 3
set_unit()
S
80 1 3
set_min_age()
S
80 1 3
get_formatted_unit()
S
80 1 3
set_delivery_time()
S
80 1 3
get_delivery_time()
S
79 1 3
set_cart_description()
S
80 1 3
get_cart_description()
S
79 1 3
set_unit_product()
S
80 1 3
get_unit()
S
79 1 3