GeoDir_API B

Total Complexity 85
Dependencies 5
Dependents 2
Total lines 569
Lines of code 288
Logical lines of code 184
Comment lines 200
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
register_rest_routes()
A
43 13 51
rest_cookie_check_errors()
A
55 13 16
setup_show_in_rest()
A
46 11 39
rest_api_includes()
S
51 4 25
handle_api_requests()
S
57 4 16
rest_insert_comment()
S
58 4 16
posts_clauses_request()
S
58 3 14
rest_posts_orderby()
S
62 3 10
rest_nonce_user_logged_out()
S
70 3 6
rest_nonce_hook_unset()
S
67 3 7
rest_nonce_set_hook()
S
67 3 7
is_rest()
S
71 3 6
rest_posts_request()
S
61 2 11
rest_api_init()
S
61 2 11
rest_posts_fields()
S
66 2 8
register_rest_query()
S
72 2 5
register_wp_admin_settings()
S
71 2 6
rest_posts_distinct()
S
81 1 3
rest_posts_join()
S
69 1 6
rest_posts_where()
S
81 1 3
rest_posts_groupby()
S
81 1 3
add_query_vars()
S
77 1 4
rest_posts_limits()
S
81 1 3
add_endpoint()
S
79 1 3
__construct()
S
63 1 9