WC_GZD_Product D

Total Complexity 438
Dependencies 5
Dependents 3
Total lines 2,143
Lines of code 1,194
Logical lines of code 608
Comment lines 533
Methods 174
Properties 7

Methods 174

Method Rating Maintainability Complexity Lines of code
get_checkout_attributes()
B
37 23 66
get_default_delivery_time()
A
47 16 31
get_tax_info()
A
48 16 27
get_current_customer_shipping_country()
A
54 15 17
get_min_age()
A
49 13 28
get_delivery_time_by_country()
A
52 12 24
get_delivery_time_html()
A
46 10 37
add_labels_to_price_html()
A
51 10 25
get_delivery_time_slugs()
A
52 8 25
save()
S
53 7 22
get_deposit_amount()
S
55 7 17
set_nutrient_ids()
S
51 6 29
get_price_html_from_to()
S
66 7 6
hide_shopmarks_due_to_missing_price()
S
64 7 8
get_deposit_amount_per_unit()
S
61 6 11
get_unit_price_html()
S
57 5 15
get_delivery_times()
S
58 4 15
set_country_specific_delivery_times()
S
58 4 15
is_virtual_vat_exception()
S
74 5 3
recalculate_unit_price()
S
60 4 13
get_delivery_time()
S
63 4 12
get_deposit_amount_html()
S
55 3 19
get_nutrient()
S
57 3 17
get_unit_product_html()
S
57 3 16
get_deposit_amount_excluding_tax()
S
58 3 16
get_deposit_amount_including_tax()
S
58 3 16
get_unit_price_excluding_tax()
S
59 3 16
get_unit_price_including_tax()
S
59 3 16
attribute_exists()
S
66 4 8
has_unit()
S
70 4 6
get_nutrient_reference()
S
62 3 11
get_nutrient_value()
S
62 3 11
get_formatted_net_filling_quantity()
S
62 3 11
get_used_good()
S
67 3 7
get_deposit_quantity()
S
68 3 7
get_shipping_costs_html()
S
66 3 9
has_warranty()
S
78 3 3
get_warranty_attachment()
S
64 3 10
get_sale_price_regular_label()
S
67 3 7
get_sale_price_label()
S
67 3 7
get_delivery_time_term()
S
74 3 4
is_valid_country_specific_delivery_time()
S
68 3 7
get_country_specific_delivery_times()
S
69 3 6
has_deposit()
S
67 3 7
attribute_is_checkout_visible()
S
77 3 3
get_alcohol_content()
S
68 3 7
get_formatted_unit_price()
S
70 3 5
get_deposit_packaging_type()
S
67 3 7
get_deposit_type_term()
S
64 3 10
has_unit_product()
S
75 3 4
get_formatted_defect_description()
S
69 2 6
set_deposit_quantity()
S
78 2 3
set_warranty_attachment_id()
S
74 2 4
get_unit_term()
S
69 2 7
is_other_service()
S
78 2 3
set_unit_base()
S
78 2 3
set_unit_product()
S
78 2 3
set_default_delivery_time_slug()
S
67 2 8
get_sale_price_label_name()
S
71 2 6
needs_age_verification()
S
75 2 4
get_sale_price_regular_label_term()
S
69 2 7
get_delivery_time_name()
S
71 2 6
get_sale_price_regular_label_name()
S
71 2 6
set_min_age()
S
78 2 3
get_unit_name()
S
71 2 6
is_on_unit_sale()
S
77 2 3
get_sale_price_label_term()
S
69 2 7
__construct()
S
71 2 6
get_warranty_filename()
S
71 2 6
get_formatted_food_place_of_origin()
S
70 2 6
get_warranty_url()
S
71 2 6
get_formatted_ingredients()
S
70 2 6
get_formatted_allergenic()
S
65 2 8
get_allergenic()
S
70 2 6
get_formatted_drain_weight()
S
63 2 9
get_formatted_food_distributor()
S
70 2 6
has_cart_description()
S
75 2 4
get_formatted_nutri_score()
S
66 2 7
get_formatted_cart_description()
S
66 2 8
get_nutrients()
S
70 2 6
get_warranty_file()
S
71 2 6
get_formatted_food_description()
S
70 2 6
get_prop()
S
69 2 5
get_deposit_packaging_type_title()
S
68 2 7
set_prop()
S
73 2 4
__call()
S
70 2 6
get_food_description()
S
79 1 3
get_unit_product()
S
79 1 3
get_unit_price_regular()
S
79 1 3
get_drained_weight()
S
79 1 3
get_net_filling_quantity()
S
79 1 3
includes_alcohol()
S
77 1 3
get_formatted_alcohol_content()
S
80 1 3
is_doing_price_html_action()
S
78 1 3
get_food_distributor()
S
79 1 3
get_unit_html()
S
80 1 3
get_deposit_type()
S
79 1 3
get_unit_base_html()
S
80 1 3
get_food_place_of_origin()
S
79 1 3
is_service()
S
79 1 3
is_unit_price_calculated_automatically()
S
81 1 3
get_nutri_score()
S
79 1 3
get_gzd_version()
S
79 1 3
get_wc_product()
S
82 1 3
get_unit()
S
79 1 3
get_unit_base()
S
79 1 3
get_warranty_attachment_id()
S
79 1 3
get_gtin()
S
79 1 3
set_gzd_version()
S
80 1 3
get_mpn()
S
79 1 3
get_nutrient_ids()
S
75 1 4
get_default_delivery_time_slug()
S
79 1 3
get_nutrient_reference_value()
S
79 1 3
has_nutrients()
S
80 1 3
get_nutrients_html()
S
78 1 3
set_delivery_times_need_update()
S
81 1 3
delivery_times_need_update()
S
82 1 3
set_delivery_time_slugs()
S
72 1 5
get_allergen_ids()
S
75 1 4
has_allergenic()
S
80 1 3
get_unit_price_sale()
S
79 1 3
get_ingredients()
S
79 1 3
get_unit_price()
S
79 1 3
get_mini_desc()
S
79 1 3
get_unit_price_auto()
S
79 1 3
set_deposit_type()
S
76 1 4
set_net_filling_quantity()
S
79 1 3
set_drained_weight()
S
79 1 3
set_nutri_score()
S
80 1 3
set_ingredients()
S
80 1 3
set_allergen_ids()
S
74 1 4
set_wc_product()
S
81 1 3
set_mpn()
S
80 1 3
set_gtin()
S
80 1 3
get_formatted_mini_desc()
S
80 1 3
is_differential_taxed()
S
79 1 3
set_food_distributor()
S
80 1 3
get_differential_taxation()
S
79 1 3
has_free_shipping()
S
79 1 3
get_free_shipping()
S
79 1 3
is_defective_copy()
S
79 1 3
get_defective_copy()
S
79 1 3
is_used_good()
S
79 1 3
get_is_food()
S
75 1 4
is_food()
S
79 1 3
get_service()
S
79 1 3
is_photovoltaic_system()
S
79 1 3
set_alcohol_content()
S
79 1 3
set_food_place_of_origin()
S
80 1 3
is_unit_price_auto()
S
79 1 3
set_differential_taxation()
S
79 1 3
get_photovoltaic_system()
S
79 1 3
get_defect_description()
S
79 1 3
has_nutrient()
S
75 1 4
has_min_age()
S
81 1 3
get_cart_description()
S
81 1 3
set_cart_description()
S
81 1 3
set_defect_description()
S
80 1 3
set_mini_desc()
S
80 1 3
set_sale_price_regular_label()
S
80 1 3
set_sale_price_label()
S
80 1 3
set_free_shipping()
S
79 1 3
set_food_description()
S
80 1 3
set_is_food()
S
79 1 3
set_used_good()
S
79 1 3
set_defective_copy()
S
79 1 3
set_photovoltaic_system()
S
79 1 3
set_service()
S
79 1 3
set_unit_price_auto()
S
79 1 3
set_unit()
S
80 1 3
set_unit_price_sale()
S
79 1 3
set_unit_price_regular()
S
79 1 3
set_unit_price()
S
79 1 3
set_nutrient_reference_value()
S
80 1 3