Orderable_Products C

Total Complexity 111
Dependencies 1
Dependents 4
Total lines 802
Lines of code 465
Logical lines of code 227
Comment lines 211
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
get_products_by_category()
C
30 25 127
maybe_flatten_products_by_category()
A
46 13 36
get_available_attributes()
A
52 8 24
get_add_to_cart_button()
S
44 5 49
products_404()
S
57 7 17
remove_hidden_categories_from_terms_query()
S
59 7 13
is_product_hidden()
S
57 6 18
get_products()
S
58 6 14
remove_hidden_categories_from_sitemap()
S
56 5 19
get_available_variation_attributes()
S
57 5 17
remove_hidden_products_from_sitemap()
S
55 4 21
get_update_cart_item_button()
S
48 2 36
order_categories_by_menu_order()
S
57 3 17
get_accordion_data()
S
59 3 13
disable_cart_link()
S
69 3 6
remove_hidden_categories_from_products_query()
S
61 2 13
set_product_visibility()
S
74 2 4
get_add_to_cart_trigger()
S
73 2 4
is_category_hidden()
S
75 1 4
format_price_range()
S
77 1 3
run()
S
62 1 10