WC_GZD_Product D

Total Complexity 215
Dependencies 4
Dependents 3
Total lines 1,094
Lines of code 521
Logical lines of code 275
Comment lines 378
Methods 74
Properties 1

Methods 74

Method Rating Maintainability Complexity Lines of code
get_checkout_attributes()
B
37 23 66
get_tax_info()
A
48 16 27
get_min_age()
A
50 12 28
add_labels_to_price_html()
A
50 11 27
get_delivery_time_html()
A
49 9 32
get_delivery_time()
S
59 8 13
get_delivery_time_term()
S
60 8 11
get_price_html_from_to()
S
66 7 6
get_unit_price_html()
S
57 5 15
recalculate_unit_price()
S
60 4 13
get_unit_product_html()
S
57 3 16
hide_shopmarks_due_to_missing_price()
S
65 4 8
has_unit()
S
70 4 6
is_virtual_vat_exception()
S
75 4 3
attribute_exists()
S
66 4 8
attribute_is_checkout_visible()
S
77 3 3
get_shipping_costs_html()
S
66 3 9
get_sale_price_regular_label()
S
67 3 7
get_sale_price_label()
S
67 3 7
get_unit_price_including_tax()
S
67 3 7
get_unit_price_excluding_tax()
S
67 3 7
has_unit_product()
S
75 3 4
get_formatted_unit_price()
S
70 3 5
set_min_age()
S
78 2 3
get_sale_price_regular_label_term()
S
69 2 7
get_unit_term()
S
69 2 7
get_unit_name()
S
71 2 6
get_sale_price_label_term()
S
69 2 7
get_sale_price_label_name()
S
71 2 6
get_sale_price_regular_label_name()
S
71 2 6
is_on_unit_sale()
S
77 2 3
get_delivery_time_name()
S
71 2 6
needs_age_verification()
S
75 2 4
__construct()
S
71 2 6
get_formatted_cart_description()
S
67 2 8
set_unit_product()
S
78 2 3
has_cart_description()
S
75 2 4
set_unit_base()
S
78 2 3
__call()
S
70 2 6
set_prop()
S
73 2 4
get_prop()
S
70 2 5
get_unit()
S
79 1 3
get_unit_base()
S
79 1 3
get_unit_product()
S
79 1 3
is_unit_price_calculated_automatically()
S
81 1 3
get_service()
S
79 1 3
get_unit_price_regular()
S
79 1 3
get_unit_price()
S
79 1 3
get_unit_price_sale()
S
79 1 3
get_unit_price_auto()
S
79 1 3
is_unit_price_auto()
S
79 1 3
get_mini_desc()
S
79 1 3
get_cart_description()
S
81 1 3
set_differential_taxation()
S
79 1 3
get_unit_html()
S
80 1 3
is_service()
S
80 1 3
set_unit()
S
80 1 3
set_sale_price_regular_label()
S
80 1 3
get_wc_product()
S
82 1 3
set_cart_description()
S
81 1 3
set_free_shipping()
S
79 1 3
set_service()
S
79 1 3
has_min_age()
S
81 1 3
set_unit_price_auto()
S
79 1 3
set_unit_price_sale()
S
79 1 3
set_sale_price_label()
S
80 1 3
set_unit_price_regular()
S
79 1 3
set_unit_price()
S
79 1 3
is_differential_taxed()
S
80 1 3
get_differential_taxation()
S
79 1 3
has_free_shipping()
S
80 1 3
get_free_shipping()
S
79 1 3
get_unit_base_html()
S
80 1 3
set_mini_desc()
S
80 1 3