Orderable_Products B

Total Complexity 82
Dependencies 1
Dependents 3
Total lines 523
Lines of code 310
Logical lines of code 159
Comment lines 126
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
get_products_by_category()
B
36 15 89
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 25
get_available_variation_attributes()
S
57 5 17
order_categories_by_menu_order()
S
57 3 17
get_products()
S
65 4 8
disable_cart_link()
S
69 3 6
remove_hidden_categories_from_products_query()
S
61 2 13
set_product_visibility()
S
74 2 4
run()
S
65 1 8
format_price_range()
S
77 1 3
is_category_hidden()
S
75 1 4