GeoDir_Query D

Total Complexity 351
Dependencies 3
Dependents 4
Total lines 1,620
Lines of code 923
Logical lines of code 611
Comment lines 448
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
posts_where()
D
19
59 189
set_is_geodir_page()
D
34 43 78
sort_by_sql()
D
32 32 94
pre_get_posts()
C
32 30 92
author_where()
C
39 25 53
custom_sort()
B
37 23 64
posts_fields()
B
36 20 70
posts_orderby()
A
47 15 32
sort_by_children()
A
45 12 39
search_sort()
A
51 13 23
prepare_sort_order()
A
53 11 20
posts_having()
A
51 10 23
is_gd_main_query()
A
61 9 11
add_page_id_in_query_var()
S
59 6 14
pre_handle_404()
S
67 6 7
parse_request()
S
61 5 12
get_query_var()
S
62 5 11
column_exist()
S
61 3 12
get_errors()
S
74 3 4
get_current_endpoint()
S
65 3 9
__construct()
S
62 2 11
get_rand_seed()
S
65 2 9
posts_join()
S
65 2 8
add_query_vars()
S
70 2 6
is_showing_page_on_front()
S
78 2 3
set_globals()
S
69 2 7
remove_product_query()
S
79 1 3
posts_groupby()
S
79 1 3
init_query_vars()
S
74 1 5
get_query_vars()
S
79 1 3
page_on_front_is()
S
78 1 3
posts_limits()
S
74 1 5