WPCOM_JSON_API_Site_Settings_Endpoint D

Total Complexity 238
Dependencies 12
Dependents 0
Total lines 1,195
Lines of code 795
Logical lines of code 500
Comment lines 250
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
update_settings()
D
0
172 475
get_settings_response()
D
23
26 193
get_wpcom_gifting_subscription_default()
A
53 9 20
callback()
A
52 8 23
get_locale()
S
64 4 10
is_valid_page_id()
S
63 3 11
get_wpcom_subscription_emails_use_excerpt_option()
S
66 3 8
wpcom_restapi_copy_theme_plugin_actions()
S
63 2 10
get_cast_option_value_or_null()
S
68 2 7
get_google_analytics_option_name()
S
71 2 5
get_subscriptions_reply_to_option()
S
69 2 7
get_highlander_comment_form_prompt_option()
S
68 2 7
jetpack_relatedposts_supported()
S
66 1 9
get_category_details()
S
72 1 6
get_google_analytics()
S
76 1 4