WPCOM_JSON_API_Site_Settings_Endpoint D

Total Complexity 258
Dependencies 15
Dependents 0
Total lines 1,304
Lines of code 876
Logical lines of code 547
Comment lines 271
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
update_settings()
D
0
175 475
get_settings_response()
D
20
34 220
get_wpcom_gifting_subscription_default()
A
53 9 20
callback()
A
52 8 23
set_site_mcp_abilities()
S
52 6 24
get_site_mcp_abilities()
S
52 5 25
get_locale()
S
64 4 10
is_valid_page_id()
S
63 3 11
get_all_site_mcp_abilities()
S
60 2 12
wpcom_restapi_copy_theme_plugin_actions()
S
63 2 10
get_cast_option_value_or_null()
S
68 2 7
get_mcp_abilities_metadata()
S
64 2 9
get_subscriptions_reply_to_option()
S
66 2 8
get_highlander_comment_form_prompt_option()
S
68 2 7
jetpack_relatedposts_supported()
S
66 1 9
get_category_details()
S
72 1 6