YITH_WCAN_Query D

Total Complexity 186
Dependencies 6
Dependents 4
Total lines 1,548
Lines of code 627
Logical lines of code 377
Comment lines 698
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
should_process_query()
A
55 10 17
get_query_relevant_term_objects()
S
50 7 29
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
instance()
S
62 4 12
get_query_var()
S
63 4 9
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
get()
S
69 2 7
set_tax_query()
S
65 2 9
set_post_in()
S
69 2 7
fill_query_vars()
S
65 2 10
suppress_default_conditional_tags()
S
64 2 10
suppress_canonical_redirect()
S
72 2 6
should_filter()
S
73 2 4
count_query_relevant_term_objects()
S
70 2 6
get_base_filter_url()
S
65 2 9
is_filtered()
S
77 2 3
start_filtering()
S
63 2 10
get_product_ids_featured()
S
81 1 3
get_product_ids_on_sale()
S
81 1 3
__construct()
S
67 1 7
alter_product_query()
S
81 1 3
get_post_in()
S
79 1 3
set_meta_query()
S
73 1 5
get_meta_query()
S
82 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
get_orderby()
S
82 1 3