Better_Search_Core_Query D

Total Complexity 184
Dependencies 4
Dependents 1
Total lines 1,496
Lines of code 629
Logical lines of code 376
Comment lines 656
Methods 24
Properties 15

Methods 24

Method Rating Maintainability Complexity Lines of code
prepare_query_args()
D
30 32 104
posts_search()
B
34 21 85
set_topscore()
B
42 16 50
the_posts()
A
44 16 41
posts_pre_query()
A
43 15 44
posts_orderby()
A
49 13 27
posts_join()
A
51 10 22
parse_search_terms()
A
54 8 20
set_class_variables()
S
51 6 25
__construct()
S
65 6 9
get_match_sql()
S
51 4 25
pre_get_posts()
S
53 4 24
get_search_stopwords()
S
55 4 22
posts_where()
S
60 4 12
hooks()
S
56 3 18
posts_fields()
S
57 3 16
is_better_search()
S
68 4 7
unset_unnecessary_args()
S
52 2 28
get_cache_key()
S
62 3 12
should_use_custom_table()
S
71 2 5
posts_distinct()
S
65 2 9
posts_groupby()
S
66 2 8
posts_clauses()
S
66 2 8
posts_request()
S
66 2 8