Orderable_Products B

Total Complexity 98
Dependencies 1
Dependents 3
Total lines 659
Lines of code 376
Logical lines of code 194
Comment lines 175
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
get_products_by_category()
B
35 16 93
maybe_flatten_products_by_category()
A
45 12 44
get_available_attributes()
A
52 8 24
products_404()
S
57 7 17
remove_hidden_categories_from_terms_query()
S
59 7 13
is_product_hidden()
S
57 6 18
get_add_to_cart_button()
S
51 5 24
remove_hidden_categories_from_sitemap()
S
56 5 19
get_available_variation_attributes()
S
57 5 17
get_products()
S
59 5 12
remove_hidden_products_from_sitemap()
S
55 4 21
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