WC_Abstract_Legacy_Product C

Total Complexity 110
Dependencies 3
Dependents 0
Total lines 675
Lines of code 339
Logical lines of code 204
Comment lines 282
Methods 41
Properties 0

Methods 41

Method Rating Maintainability Complexity Lines of code
__get()
D
32 43 87
sync_attributes()
A
47 12 33
__isset()
S
49 4 33
get_total_stock()
S
58 4 15
enable_dimensions_display()
S
73 5 4
has_all_attributes_set()
S
63 3 11
variable_product_sync()
S
65 3 9
get_post_data()
S
65 2 9
has_default_attributes()
S
69 2 7
sync_rating_count()
S
71 1 5
get_variation_id()
S
75 1 4
get_parent()
S
74 1 4
get_upsells()
S
74 1 4
get_cross_sells()
S
74 1 4
parent_is_visible()
S
76 1 4
get_variation_description()
S
75 1 4
sync_average_rating()
S
69 1 6
get_files()
S
75 1 4
get_matching_variation()
S
71 1 5
get_rating_html()
S
75 1 4
get_formatted_variation_attributes()
S
75 1 4
get_tags()
S
74 1 4
get_categories()
S
74 1 4
get_related_terms()
S
74 1 4
get_variation_default_attributes()
S
74 1 4
get_gallery_attachment_ids()
S
75 1 4
set_stock()
S
74 1 4
reduce_stock()
S
74 1 4
increase_stock()
S
74 1 4
check_stock_status()
S
80 1 3
get_related()
S
75 1 4
build_related_query()
S
71 1 5
adjust_price()
S
74 1 4
get_child()
S
75 1 4
get_price_html_from_text()
S
75 1 4
get_price_html_from_to()
S
74 1 4
list_attributes()
S
75 1 4
get_price_including_tax()
S
73 1 4
get_display_price()
S
73 1 4
get_price_excluding_tax()
S
73 1 4
grouped_product_sync()
S
80 1 3