Jetpack_Core_Json_Api_Endpoints D

Total Complexity 385
Dependencies 30
Dependents 5
Total lines 4,353
Lines of code 3,008
Logical lines of code 750
Comment lines 970
Methods 87
Properties 1

Methods 87

Method Rating Maintainability Complexity Lines of code
get_updateable_data_list()
D
10
9 784
register_endpoints()
D
15
3 625
prepare_options_for_response()
B
37 23 65
is_site_verified_and_token()
B
45 18 35
validate_custom_service()
A
49 16 29
get_remote_value()
A
48 13 34
validate_services()
A
48 12 33
activate_plugin()
A
41 9 58
cast_value()
A
51 11 27
site_data()
A
49 10 28
install_plugin()
A
44 8 48
jetpack_connection_test_for_external()
A
44 8 47
reset_jetpack_options()
A
46 8 37
view_jetpack_connection_test_check()
A
51 8 27
validate_custom_service_id()
A
51 8 26
get_site_discount()
S
46 6 42
validate_recommendations_data()
S
54 7 20
dismiss_notice()
S
54 7 19
validate_list_item()
S
50 6 30
get_scan_state()
S
51 6 26
prepare_modules_for_response()
S
53 6 22
validate_onboarding()
S
56 6 18
get_site_activity()
S
46 4 44
get_site_data()
S
50 5 28
get_intro_offers()
S
46 4 42
scan_state()
S
52 5 22
rewind_data()
S
54 5 20
get_recommendations_upsell()
S
48 4 34
get_recommendations_product_suggestions()
S
49 4 31
validate_verification_service()
S
61 5 12
get_plugin_update_count()
S
51 4 26
get_rewind_data()
S
53 4 23
validate_subscription_options()
S
56 4 20
get_plugin()
S
51 3 28
unlink_user()
S
59 4 13
validate_twitter_username()
S
61 4 12
validate_boolean()
S
61 4 12
verify_site()
S
52 3 27
validate_alphanum()
S
61 4 12
split_options()
S
62 4 11
disconnect_site()
S
60 4 11
get_openai_jwt()
S
52 3 24
update_user_tracking_settings()
S
53 3 24
validate_sharing_show()
S
54 3 23
validate_module_list()
S
55 3 22
get_user_tracking_settings()
S
55 3 22
activate_crm_jetpack_forms_extension()
S
62 4 10
build_connect_url()
S
63 4 9
validate_stats_roles()
S
61 3 13
purchase_token_permission_check()
S
62 3 13
validate_posint()
S
62 3 12
get_products()
S
54 2 22
submit_survey()
S
55 2 21
get_plans()
S
56 2 19
validate_array_of_strings()
S
65 3 9
get_module_requested()
S
63 3 10
validate_non_neg_int()
S
65 3 9
activate_plugins_permission_check()
S
64 3 10
unlink_user_permission_callback()
S
64 3 10
jetpack_connection_test()
S
60 2 14
validate_string()
S
62 2 12
validate_array()
S
62 2 12
get_user_connection_data()
S
61 2 11
set_subscriber_cookie_and_redirect()
S
61 2 11
delete_purchase_token()
S
67 2 7
jetpack_crm_data_permission_check()
S
65 2 10
activate_crm_extensions_permission_check()
S
65 2 10
get_plugins()
S
67 2 7
update_settings_permission_check()
S
65 2 10
sanitize_stats_allowed_roles()
S
72 2 6
disconnect_site_permission_callback()
S
65 2 10
edit_others_posts_check()
S
65 2 10
view_admin_page_permission_check()
S
65 2 10
configure_modules_permission_check()
S
65 2 10
connect_url_permission_callback()
S
65 2 10
manage_modules_permission_check()
S
65 2 10
get_purchase_token()
S
67 2 7
get_recommendations_data()
S
80 1 3
update_recommendations_step()
S
73 1 5
validate_activate_plugin()
S
80 1 3
increase_timeout_30()
S
81 1 3
get_jetpack_crm_data()
S
76 1 4
update_recommendations_data()
S
73 1 5
get_conditional_recommendations()
S
80 1 3
get_recommendations_step()
S
80 1 3
set_has_seen_wc_connection_modal()
S
74 1 4
get_updateable_parameters()
S
67 1 8