-
Home
-
GeoDirectory – WP Business Directory Plugin and Classified Listings Directory
-
2.8.138 (latest)
-
Code
-
Classes
- GeoDir_Query
| Total Complexity |
395 |
| Dependencies |
4 |
| Dependents |
4 |
| Total lines |
1,776 |
| Lines of code |
1,016 |
| Logical lines of code |
675 |
| Comment lines |
498 |
| Methods |
36 |
| Properties |
2 |
Methods 36
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| posts_where() |
D |
18 |
64 |
187 |
| pre_get_posts() |
D |
28 |
43 |
113 |
| set_is_geodir_page() |
D |
34 |
43 |
78 |
| sort_by_sql() |
D |
30 |
34 |
109 |
| 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 |
| posts_order_by_sort() |
S |
61 |
3 |
12 |
| __construct() |
S |
57 |
2 |
15 |
| get_errors() |
S |
74 |
3 |
4 |
| get_current_endpoint() |
S |
65 |
3 |
9 |
| get_rand_seed() |
S |
65 |
2 |
9 |
| set_globals() |
S |
69 |
2 |
7 |
| posts_join() |
S |
65 |
2 |
8 |
| add_query_vars() |
S |
70 |
2 |
6 |
| is_showing_page_on_front() |
S |
78 |
2 |
3 |
| main_query_posts_where() |
S |
65 |
2 |
8 |
| posts_limits() |
S |
77 |
1 |
4 |
| posts_groupby() |
S |
79 |
1 |
3 |
| 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 |