WPCOM_JSON_API_GET_Site_Endpoint D

Total Complexity 148
Dependencies 4
Dependents 0
Total lines 807
Lines of code 462
Logical lines of code 403
Comment lines 125
Methods 10
Properties 9

Methods 10

Method Rating Maintainability Complexity Lines of code
render_option_keys()
D
17
74 224
render_response_key()
D
28
43 126
decorate_jetpack_response()
A
47 7 36
build_current_site_response()
S
56 6 16
callback()
S
56 5 17
build_meta_response()
S
57 3 16
has_blog_access()
S
64 4 9
filter_fields_and_options()
S
70 3 5
render_response_keys()
S
64 2 10
has_user_access()
S
79 1 3