YITH_WCAN_Query D

Total Complexity 184
Dependencies 4
Dependents 2
Total lines 1,283
Lines of code 621
Logical lines of code 370
Comment lines 440
Methods 46
Properties 7

Methods 46

Method Rating Maintainability Complexity Lines of code
diff_query_vars()
A
45 15 41
get_active_filter()
A
43 14 46
get_query_vars()
A
46 13 35
reduce_tax_query()
A
46 12 38
merge_query_vars()
A
47 12 35
get_layered_nav_chosen_attributes()
A
51 10 22
get_query_relevant_term_objects()
A
49 8 33
should_process_query()
A
57 9 15
get_supported_taxonomies()
S
57 6 16
is_filtered_by()
S
57 6 15
get_tax_query()
S
52 5 24
get_filtered_products_by_query_vars()
S
49 4 33
get_filter_url()
S
55 4 20
get_active_filters()
S
57 4 17
is_term()
S
58 4 16
set_orderby()
S
60 4 15
suppress_default_query_vars()
S
69 5 6
register_products()
S
69 4 6
filter_query_vars()
S
63 3 11
get_product_ids_in_stock()
S
56 2 20
filter()
S
61 2 13
sanitize_query()
S
63 2 12
count_query_relevant_term_objects()
S
70 2 6
is_filtered()
S
77 2 3
get_base_filter_url()
S
65 2 9
suppress_canonical_redirect()
S
72 2 6
instance()
S
72 2 6
suppress_default_conditional_tags()
S
64 2 10
set_tax_query()
S
65 2 9
should_filter()
S
73 2 4
fill_query_vars()
S
65 2 10
set_post_in()
S
69 2 7
start_filtering()
S
63 2 10
get()
S
69 2 7
set_meta_query()
S
73 1 5
get_meta_query()
S
82 1 3
get_orderby()
S
82 1 3
alter_product_query()
S
81 1 3
get_post_in()
S
79 1 3
get_product_ids_on_sale()
S
81 1 3
get_product_ids_featured()
S
81 1 3
get_filtered_products()
S
81 1 3
get_query_param()
S
82 1 3
get_supported_labels()
S
72 1 5
set()
S
80 1 3
__construct()
S
65 1 8