WC_Product D

Total Complexity 293
Dependencies 7
Dependents 22
Total lines 2,117
Lines of code 768
Logical lines of code 356
Comment lines 1,069
Methods 161
Properties 5

Methods 161

Method Rating Maintainability Complexity Lines of code
is_visible_core()
A
54 13 18
set_downloads()
A
50 10 28
get_availability_text()
S
58 8 14
is_on_sale()
S
58 8 14
build_downloads_map()
S
53 6 22
__construct()
S
57 6 16
get_image()
S
58 6 15
save()
S
54 5 21
get_price_suffix()
S
57 5 15
get_availability_class()
S
62 6 10
validate_props()
S
56 4 18
set_sku()
S
58 4 16
get_attribute()
S
60 4 12
get_file()
S
62 4 11
has_dimensions()
S
77 4 3
is_purchasable()
S
75 4 3
is_on_backorder()
S
69 4 6
get_shipping_class()
S
64 4 10
get_max_purchase_quantity()
S
77 4 3
set_tax_status()
S
60 3 14
set_tax_class()
S
65 3 9
get_price_html()
S
62 3 10
is_shipping_taxable()
S
77 3 3
has_attributes()
S
68 3 8
has_enough_stock()
S
77 3 3
get_rating_count()
S
64 3 10
set_download_expiry()
S
76 3 3
set_download_limit()
S
76 3 3
set_attributes()
S
63 3 10
is_type()
S
77 3 3
get_dimensions()
S
62 2 11
set_catalog_visibility()
S
67 2 7
has_weight()
S
79 2 3
set_stock_quantity()
S
77 2 3
maybe_defer_product_sync()
S
72 2 6
delete()
S
66 2 9
set_stock_status()
S
67 2 8
set_low_stock_amount()
S
78 2 3
set_weight()
S
78 2 3
set_length()
S
78 2 3
get_type()
S
79 2 3
set_height()
S
78 2 3
is_taxable()
S
77 2 3
set_width()
S
78 2 3
managing_stock()
S
71 2 6
get_file_download_path()
S
71 2 5
get_formatted_name()
S
67 2 8
has_file()
S
79 2 3
backorders_allowed()
S
76 2 3
backorders_require_notification()
S
77 2 3
get_name()
S
79 1 3
set_rating_counts()
S
78 1 3
set_review_count()
S
79 1 3
get_min_purchase_quantity()
S
82 1 3
add_to_cart_url()
S
79 1 3
set_average_rating()
S
79 1 3
single_add_to_cart_text()
S
78 1 3
set_downloadable()
S
79 1 3
add_to_cart_text()
S
78 1 3
get_catalog_visibility()
S
79 1 3
add_to_cart_description()
S
77 1 3
get_stock_managed_by_id()
S
81 1 3
get_description()
S
79 1 3
set_image_id()
S
80 1 3
set_gallery_image_ids()
S
76 1 4
get_slug()
S
79 1 3
get_availability()
S
66 1 10
get_date_created()
S
79 1 3
before_data_store_save_or_update()
S
91 1 2
get_children()
S
82 1 3
is_sold_individually()
S
78 1 3
needs_shipping()
S
78 1 3
is_in_stock()
S
78 1 3
has_child()
S
79 1 3
set_virtual()
S
79 1 3
get_date_modified()
S
79 1 3
child_has_dimensions()
S
82 1 3
get_status()
S
79 1 3
is_visible()
S
75 1 4
is_featured()
S
80 1 3
get_featured()
S
79 1 3
is_virtual()
S
78 1 3
is_downloadable()
S
78 1 3
child_has_weight()
S
82 1 3
exists()
S
80 1 3
has_options()
S
79 1 3
supports()
S
77 1 3
get_title()
S
79 1 3
get_permalink()
S
80 1 3
after_data_store_save_or_update()
S
82 1 3
set_shipping_class_id()
S
79 1 3
get_short_description()
S
79 1 3
set_tag_ids()
S
78 1 3
get_width()
S
79 1 3
get_gallery_image_ids()
S
79 1 3
get_virtual()
S
79 1 3
get_tag_ids()
S
79 1 3
get_category_ids()
S
79 1 3
get_post_password()
S
79 1 3
get_menu_order()
S
79 1 3
get_default_attributes()
S
79 1 3
get_attributes()
S
79 1 3
get_purchase_note()
S
79 1 3
get_reviews_allowed()
S
79 1 3
get_parent_id()
S
79 1 3
get_cross_sell_ids()
S
79 1 3
get_upsell_ids()
S
79 1 3
get_height()
S
79 1 3
get_length()
S
79 1 3
get_downloads()
S
79 1 3
get_tax_status()
S
79 1 3
get_price()
S
79 1 3
get_regular_price()
S
79 1 3
get_sale_price()
S
79 1 3
get_date_on_sale_from()
S
79 1 3
get_date_on_sale_to()
S
79 1 3
get_total_sales()
S
79 1 3
get_tax_class()
S
79 1 3
get_weight()
S
79 1 3
get_manage_stock()
S
79 1 3
get_stock_quantity()
S
79 1 3
get_stock_status()
S
79 1 3
get_backorders()
S
79 1 3
get_low_stock_amount()
S
79 1 3
get_sold_individually()
S
79 1 3
get_shipping_class_id()
S
79 1 3
get_download_expiry()
S
79 1 3
set_category_ids()
S
78 1 3
set_date_on_sale_from()
S
80 1 3
set_post_password()
S
80 1 3
set_menu_order()
S
79 1 3
set_default_attributes()
S
77 1 3
set_purchase_note()
S
80 1 3
get_sku()
S
79 1 3
set_parent_id()
S
79 1 3
set_cross_sell_ids()
S
79 1 3
set_upsell_ids()
S
79 1 3
set_sold_individually()
S
79 1 3
set_backorders()
S
80 1 3
set_manage_stock()
S
79 1 3
get_valid_tax_classes()
S
81 1 3
set_total_sales()
S
79 1 3
set_date_on_sale_to()
S
80 1 3
set_sale_price()
S
79 1 3
get_downloadable()
S
79 1 3
set_slug()
S
80 1 3
get_download_limit()
S
79 1 3
get_image_id()
S
79 1 3
get_rating_counts()
S
79 1 3
get_average_rating()
S
79 1 3
get_review_count()
S
79 1 3
set_name()
S
80 1 3
set_date_created()
S
80 1 3
set_regular_price()
S
79 1 3
set_date_modified()
S
80 1 3
set_status()
S
80 1 3
set_featured()
S
79 1 3
set_description()
S
80 1 3
set_short_description()
S
80 1 3
set_price()
S
79 1 3
set_reviews_allowed()
S
79 1 3