-
Home
-
GeoDirectory – WP Business Directory Plugin and Classified Listings Directory
-
2.3.35
-
Code
-
Classes
- GeoDir_REST_Fields_Controller
Total Complexity |
130 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
936 |
Lines of code |
630 |
Logical lines of code |
257 |
Comment lines |
172 |
Methods |
18 |
Properties |
0 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
prepare_item_for_response() |
D |
29 |
41 |
110 |
get_fields() |
D |
34 |
32 |
77 |
get_items() |
B |
34 |
22 |
83 |
get_item_schema() |
A |
31 |
1 |
162 |
get_search_sql() |
S |
56 |
8 |
15 |
get_collection_params() |
S |
42 |
2 |
62 |
prepare_items_query() |
S |
60 |
5 |
13 |
__construct() |
S |
58 |
4 |
15 |
get_field() |
S |
60 |
3 |
12 |
register_routes() |
S |
51 |
1 |
30 |
get_item() |
S |
65 |
2 |
9 |
get_item_permissions_check() |
S |
69 |
2 |
6 |
get_items_permissions_check() |
S |
69 |
2 |
6 |
prepare_links() |
S |
62 |
1 |
12 |
show_in_rest() |
S |
79 |
1 |
3 |
items_per_page() |
S |
78 |
1 |
3 |
check_read_permission() |
S |
82 |
1 |
3 |
orderby_options() |
S |
66 |
1 |
9 |