Better_Search_Core_Query D

Total Complexity 162
Dependencies 3
Dependents 1
Total lines 1,339
Lines of code 572
Logical lines of code 363
Comment lines 570
Methods 22
Properties 13

Methods 22

Method Rating Maintainability Complexity Lines of code
prepare_query_args()
C
29 29 118
posts_search()
B
35 21 81
the_posts()
A
47 13 32
posts_pre_query()
A
47 12 33
posts_orderby()
A
50 10 26
set_topscore()
A
45 9 40
posts_join()
A
51 10 22
parse_search_terms()
A
54 8 20
set_class_variables()
S
53 6 23
pre_get_posts()
S
53 5 24
__construct()
S
65 6 9
get_match_sql()
S
51 4 25
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_search()
S
68 4 7
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