WC_GZD_Product D

Total Complexity 306
Dependencies 4
Dependents 3
Total lines 1,484
Lines of code 768
Logical lines of code 420
Comment lines 434
Methods 107
Properties 4

Methods 107

Method Rating Maintainability Complexity Lines of code
get_checkout_attributes()
B
37 23 66
get_default_delivery_time()
A
48 16 31
get_tax_info()
A
48 16 27
get_min_age()
A
49 13 28
get_delivery_time_by_country()
A
52 12 24
add_labels_to_price_html()
A
50 11 27
get_delivery_time_html()
A
47 10 36
get_delivery_time_slugs()
A
52 8 25
get_price_html_from_to()
S
66 7 6
hide_shopmarks_due_to_missing_price()
S
64 7 8
save()
S
58 5 16
get_unit_price_html()
S
57 5 15
set_country_specific_delivery_times()
S
58 4 15
get_delivery_times()
S
59 4 15
get_current_customer_shipping_country()
S
64 5 9
recalculate_unit_price()
S
60 4 13
get_delivery_time()
S
63 4 12
get_unit_product_html()
S
57 3 16
is_virtual_vat_exception()
S
75 4 3
has_unit()
S
70 4 6
attribute_exists()
S
66 4 8
get_unit_price_including_tax()
S
67 3 7
get_used_good()
S
67 3 7
attribute_is_checkout_visible()
S
77 3 3
get_formatted_unit_price()
S
70 3 5
has_warranty()
S
78 3 3
get_unit_price_excluding_tax()
S
67 3 7
get_sale_price_label()
S
67 3 7
has_unit_product()
S
75 3 4
get_shipping_costs_html()
S
66 3 9
get_delivery_time_term()
S
74 3 4
is_valid_country_specific_delivery_time()
S
68 3 7
get_warranty_attachment()
S
64 3 10
get_country_specific_delivery_times()
S
69 3 6
get_sale_price_regular_label()
S
67 3 7
set_min_age()
S
78 2 3
get_formatted_defect_description()
S
71 2 6
get_delivery_time_name()
S
71 2 6
set_default_delivery_time_slug()
S
67 2 8
is_on_unit_sale()
S
77 2 3
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_term()
S
69 2 7
get_sale_price_regular_label_name()
S
71 2 6
needs_age_verification()
S
75 2 4
__construct()
S
71 2 6
has_cart_description()
S
75 2 4
get_warranty_url()
S
71 2 6
get_formatted_cart_description()
S
67 2 8
set_unit_base()
S
78 2 3
set_unit_product()
S
78 2 3
get_warranty_file()
S
71 2 6
__call()
S
70 2 6
get_warranty_filename()
S
71 2 6
set_prop()
S
73 2 4
get_prop()
S
69 2 5
is_unit_price_calculated_automatically()
S
81 1 3
get_mini_desc()
S
79 1 3
get_cart_description()
S
81 1 3
get_defect_description()
S
79 1 3
set_delivery_time_slugs()
S
72 1 5
delivery_times_need_update()
S
82 1 3
set_delivery_times_need_update()
S
81 1 3
set_differential_taxation()
S
79 1 3
is_unit_price_auto()
S
79 1 3
get_unit_price_auto()
S
79 1 3
get_default_delivery_time_slug()
S
79 1 3
get_unit_price_sale()
S
79 1 3
get_unit_price()
S
79 1 3
set_gzd_version()
S
80 1 3
get_unit_price_regular()
S
79 1 3
get_unit_product()
S
79 1 3
get_warranty_attachment_id()
S
79 1 3
get_unit_base()
S
79 1 3
get_unit()
S
79 1 3
get_gzd_version()
S
79 1 3
is_service()
S
79 1 3
get_service()
S
79 1 3
set_unit_price_sale()
S
79 1 3
set_sale_price_regular_label()
S
80 1 3
set_mini_desc()
S
80 1 3
set_defect_description()
S
80 1 3
get_wc_product()
S
82 1 3
set_free_shipping()
S
79 1 3
set_used_good()
S
79 1 3
has_min_age()
S
81 1 3
set_defective_copy()
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_regular()
S
79 1 3
set_sale_price_label()
S
80 1 3
is_doing_price_html_action()
S
78 1 3
set_unit_price()
S
79 1 3
set_warranty_attachment_id()
S
75 1 4
is_differential_taxed()
S
79 1 3
get_unit_base_html()
S
80 1 3
get_unit_html()
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
set_cart_description()
S
81 1 3