GeoDir_Query D

Total Complexity 384
Dependencies 4
Dependents 4
Total lines 1,695
Lines of code 977
Logical lines of code 647
Comment lines 469
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
posts_where()
D
18
63 184
set_is_geodir_page()
D
34 43 78
pre_get_posts()
D
29
40 105
sort_by_sql()
D
30 32 103
author_where()
C
39 25 53
custom_sort()
B
35 23 73
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
posts_having()
A
50 11 23
prepare_sort_order()
A
53 11 20
parse_request()
A
53 10 22
is_gd_main_query()
A
61 9 11
set_wp_the_query()
S
63 8 9
add_page_id_in_query_var()
S
59 6 14
pre_handle_404()
S
67 6 7
get_query_var()
S
62 5 11
split_the_query()
S
69 5 6
column_exist()
S
61 3 12
get_current_endpoint()
S
65 3 9
get_errors()
S
74 3 4
__construct()
S
59 2 13
get_rand_seed()
S
65 2 9
add_query_vars()
S
70 2 6
is_showing_page_on_front()
S
78 2 3
posts_join()
S
65 2 8
set_globals()
S
69 2 7
remove_product_query()
S
79 1 3
init_query_vars()
S
70 1 7
get_query_vars()
S
79 1 3
page_on_front_is()
S
78 1 3
posts_groupby()
S
79 1 3
posts_limits()
S
77 1 4