WPCOM_JSON_API_Site_Settings_Endpoint D

Total Complexity 241
Dependencies 13
Dependents 0
Total lines 1,218
Lines of code 815
Logical lines of code 515
Comment lines 250
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
update_settings()
D
0
175 491
get_settings_response()
D
23
26 196
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
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
get_google_analytics()
S
76 1 4