WC_Query D

Total Complexity 169
Dependencies 4
Dependents 7
Total lines 1,021
Lines of code 525
Logical lines of code 318
Comment lines 378
Methods 50
Properties 4

Methods 50

Method Rating Maintainability Complexity Lines of code
get_catalog_ordering_args()
B
40 22 56
pre_get_posts()
B
38 20 65
get_tax_query()
A
42 15 50
get_endpoint_title()
A
43 14 48
get_layered_nav_chosen_attributes()
A
51 12 21
price_filter_post_clauses()
A
51 10 23
get_main_search_query_sql()
S
51 6 23
product_query()
S
54 4 19
get_errors()
S
68 4 6
parse_request()
S
63 4 10
is_query_var_valid_on_front_page()
S
68 4 6
get_endpoints_mask()
S
62 3 11
get_current_endpoint()
S
65 3 9
is_showing_page_on_front()
S
77 3 3
add_endpoints()
S
66 3 8
__construct()
S
60 2 12
init_query_vars()
S
56 1 17
get_main_tax_query()
S
75 2 4
get_main_meta_query()
S
72 2 5
handle_get_posts()
S
69 2 7
add_query_vars()
S
70 2 6
append_product_sorting_table_join()
S
67 2 7
get_meta_query()
S
70 2 6
rating_filter_meta_query()
S
82 1 3
remove_add_to_cart_pagination()
S
79 1 3
visibility_meta_query()
S
82 1 3
stock_status_meta_query()
S
82 1 3
layered_nav_init()
S
80 1 3
get_products_in_view()
S
80 1 3
layered_nav_query()
S
80 1 3
search_post_excerpt()
S
75 1 4
get_main_query()
S
80 1 3
remove_product_query()
S
79 1 3
order_by_rating_post_clauses()
S
73 1 5
get_current_posts()
S
80 1 3
get_query_vars()
S
79 1 3
page_on_front_is()
S
78 1 3
filter_out_valid_front_page_query_vars()
S
67 1 9
remove_product_query_filters()
S
72 1 5
adjust_posts_count()
S
82 1 3
get_layered_nav_chosen_attributes_inst()
S
80 1 3
wpseo_metadesc()
S
79 1 3
order_by_popularity_post_clauses()
S
73 1 5
wpseo_metakey()
S
79 1 3
product_query_post_clauses()
S
72 1 5
reset_chosen_attributes()
S
80 1 3
remove_ordering_args()
S
70 1 6
order_by_price_asc_post_clauses()
S
73 1 5
order_by_price_desc_post_clauses()
S
73 1 5
remove_posts_where()
S
79 1 3