Better_Search_Core_Query D

Total Complexity 172
Dependencies 3
Dependents 1
Total lines 1,382
Lines of code 597
Logical lines of code 357
Comment lines 584
Methods 23
Properties 14

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
45 15 38
set_topscore()
A
43 13 45
posts_orderby()
A
49 13 27
posts_pre_query()
A
47 12 33
posts_join()
A
51 10 22
parse_search_terms()
A
54 8 20
set_class_variables()
S
52 6 24
__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 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