Better_Search_Core_Query D

Total Complexity 169
Dependencies 3
Dependents 1
Total lines 1,362
Lines of code 586
Logical lines of code 350
Comment lines 578
Methods 23
Properties 13

Methods 23

Method Rating Maintainability Complexity Lines of code
prepare_query_args()
C
31 29 100
posts_search()
B
35 21 83
the_posts()
A
47 13 32
set_topscore()
A
44 12 44
posts_orderby()
A
50 13 26
posts_pre_query()
A
47 12 33
posts_join()
A
51 10 22
parse_search_terms()
A
54 8 20
set_class_variables()
S
53 6 23
__construct()
S
65 6 9
pre_get_posts()
S
53 4 24
get_match_sql()
S
52 4 23
get_search_stopwords()
S
55 4 21
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
posts_groupby()
S
66 2 8
posts_clauses()
S
66 2 8
posts_request()
S
66 2 8
posts_distinct()
S
65 2 9