Jetpack D

Total Complexity 1,004
Dependencies 48
Dependents 126
Total lines 7,458
Lines of code 4,201
Logical lines of code 2,121
Comment lines 2,146
Methods 264
Properties 19

Methods 264

Method Rating Maintainability Complexity Lines of code
admin_page_load()
D
19
55 217
activate_default_modules()
D
29 36 115
upload_handler()
C
31 24 107
verify_json_api_authorization_request()
C
33 23 98
state()
B
42 20 48
deprecated_hooks()
B
26
5 252
plugin_upgrade()
B
39 17 65
activate_module()
B
40 17 61
load_modules()
B
40 17 58
verify_onboarding_token()
A
45 15 38
get_activation_source()
A
45 14 41
validate_sync_error_idc_option()
A
51 15 25
get_available_modules()
A
46 13 39
maybe_inline_style()
A
45 13 39
admin_notices()
A
35 7 117
get_module()
A
41 11 54
build_connect_url()
A
45 12 39
xmlrpc_async_call()
A
47 12 34
activate_new_modules()
A
43 11 46
guess_locale_from_lang()
A
51 12 27
jetpack_custom_caps()
A
49 11 35
configure()
A
43 10 48
get_log()
A
50 11 28
jetpack_check_heartbeat_data()
A
47 10 39
admin_init()
A
48 10 30
implode_frontend_css()
A
51 10 25
dashboard_widget_footer()
A
41 7 68
absolutize_css_urls()
A
46 9 35
__construct()
A
36 6 80
is_akismet_active()
A
52 9 23
development_mode_trigger_text()
A
55 9 18
maybe_min_asset()
A
49 8 29
handle_deprecated_modules()
A
53 8 23
register_assets()
A
45 6 47
remote_request_handlers()
A
49 7 32
permit_ssl()
S
51 7 26
get_other_linked_admins()
S
53 7 24
try_registration()
S
52 7 24
glob_php()
S
53 7 22
get_file_data()
S
53 7 21
throw_error_on_activate_plugin()
S
55 7 19
add_remote_request_handlers()
S
55 7 19
check_open_graph()
S
56 7 17
get_active_modules()
S
57 7 16
get_products_for_purchase()
S
37 2 90
disconnect()
S
50 6 29
check_privacy()
S
52 6 26
filter_connect_request_body()
S
52 6 25
bail_on_activation()
S
48 5 39
get_default_modules()
S
55 6 20
is_rewind_enabled()
S
56 6 17
deactivate_dialog()
S
45 4 46
filter_default_modules()
S
59 6 15
wp_dashboard_setup()
S
50 5 29
get_updates()
S
60 6 13
get_sync_error_idc_option()
S
53 5 24
current_user_ip()
S
56 5 19
upgrade_on_load()
S
57 5 18
get_user_option_meta_box_order_dashboard()
S
56 5 18
dismiss_jetpack_notice()
S
59 5 14
check_twitter_tags()
S
59 5 14
set_suffix_on_min()
S
59 5 14
get_calypso_env()
S
62 5 12
jetpack_track_last_sync_callback()
S
61 5 12
post_login_form_to_signed_url()
S
60 5 12
alert_auto_ssl_fail()
S
46 2 52
get_connected_user_data()
S
55 4 21
admin_banner_styles()
S
55 4 19
show_development_mode_notice()
S
56 4 18
file_system_write_access()
S
57 4 17
add_configure_hook()
S
57 4 16
maybe_clear_other_linked_admins_transient()
S
67 5 8
handle_post_authorization_actions()
S
58 4 15
get_calypso_host()
S
61 4 13
get_translated_modules()
S
60 4 13
get_site_user_count()
S
59 4 13
plugin_action_links()
S
60 4 12
jetpack_menu_order()
S
62 4 12
track_xmlrpc_error()
S
62 4 11
admin_help()
S
47 2 37
point_edit_post_links_to_calypso()
S
55 3 22
jetpack_user_col_style()
S
60 3 19
get_parsed_theme_data()
S
55 3 19
update_active_modules()
S
56 3 18
get_parsed_plugin_data()
S
55 3 18
log()
S
56 3 17
build_authorize_url()
S
57 3 17
get_connected_user_email()
S
60 3 15
normalize_url_protocol_agnostic()
S
64 4 8
should_set_cookie()
S
66 4 8
concat_remove_style_loader_tag()
S
65 4 9
check_identity_crisis()
S
70 4 6
intercept_plugin_error_scrape()
S
63 4 10
user_meta_cleanup()
S
61 3 13
plugin_initialize()
S
60 3 13
plugin_activation()
S
59 3 13
jetpack_show_user_connected_icon()
S
62 3 12
is_multi_network()
S
62 3 12
authorize_ending_authorized()
S
60 3 12
register()
S
61 3 12
validate_onboarding_token_action()
S
62 3 12
get_stat_data()
S
63 3 11
jetpack_connection_banner_callback()
S
63 3 11
maybe_set_version_option()
S
62 3 11
get_active_plugins()
S
62 3 11
authorize_starting()
S
58 2 16
sort_modules()
S
69 3 6
filter_connect_redirect_url()
S
63 3 10
get_secrets()
S
63 3 10
sync_idc_optin()
S
66 3 8
is_active_and_not_offline_mode()
S
70 3 6
get_content_width()
S
69 3 6
is_active_and_not_development_mode()
S
68 3 7
apply_activation_source_to_args()
S
65 3 9
login_init()
S
59 2 15
get_cloud_site_options()
S
61 2 13
setup_xmlrpc_handlers()
S
62 2 12
catch_errors()
S
61 2 12
xmlrpc_options()
S
68 2 7
create_onboarding_token()
S
68 2 7
get_max_execution_time()
S
69 2 7
do_stats()
S
67 2 9
set_min_time_limit()
S
67 2 8
initialize_stats()
S
73 2 5
show_backups_ui()
S
77 2 3
dns_prefetch()
S
71 2 6
authenticate_jetpack()
S
68 2 7
login_url()
S
67 2 7
load_view()
S
65 2 9
xmlrpc_methods()
S
68 2 7
public_xmlrpc_methods()
S
68 2 7
build_reconnect_url()
S
74 2 4
jetpack_getOptions()
S
68 2 7
connection()
S
69 2 7
init()
S
68 2 7
remove_non_jetpack_xmlrpc_methods()
S
68 2 7
featured_images_enabled()
S
74 2 4
push_stats()
S
74 2 5
check_rest_api_compat()
S
71 2 6
is_module()
S
77 2 3
get_locale()
S
70 2 7
alternate_xmlrpc()
S
69 2 7
allow_wpcom_domain()
S
70 2 7
do_version_bump()
S
71 2 6
network_allow_new_registrations()
S
77 2 3
require_jetpack_authentication()
S
69 2 7
get_master_user_email()
S
69 2 7
is_single_user_site()
S
65 2 8
plugin_deactivation()
S
64 2 10
initialize_rest_api_registration_connector()
S
69 2 7
log_settings_change()
S
69 2 7
get_additional_stat_data()
S
63 2 10
admin_body_class()
S
68 2 6
network_site_upload_space()
S
78 2 3
add_token_to_login_redirect_json_api_authorization()
S
62 1 12
filter_token_request_body()
S
63 1 11
filter_register_request_body()
S
63 1 11
get_avatar_url()
S
63 1 11
is_version_controlled()
S
74 1 4
is_staging_site()
S
75 1 4
get_update_details()
S
67 1 8
update_jetpack_network_settings()
S
80 1 3
admin_menu_css()
S
82 1 3
refresh_update_data()
S
79 1 3
refresh_theme_data()
S
79 1 3
is_multisite()
S
80 1 3
login_message_json_api_authorization()
S
69 1 6
is_active()
S
80 1 3
allow_wpcom_environments()
S
70 1 7
is_redirect_encoded()
S
79 1 3
allow_wpcom_public_api_domain()
S
77 1 4
store_json_api_authorization_token()
S
68 1 6
preserve_action_in_login_form_for_json_api_authorization()
S
74 1 4
refresh_active_plan_from_wpcom()
S
75 1 4
login_form_json_api_authorization()
S
67 1 7
update_jetpack_main_network_site_option()
S
80 1 3
build_raw_urls()
S
75 1 4
is_main_network_option()
S
79 1 3
get_file_url_for_environment()
S
79 1 3
delete_active_modules()
S
81 1 3
late_initialization()
S
69 1 6
can_display_jetpack_manage_notice()
S
80 1 3
opt_in_jetpack_manage_notice()
S
80 1 3
opt_in_jetpack_manage_url()
S
80 1 3
opt_out_jetpack_manage_url()
S
80 1 3
admin_jetpack_manage_notice()
S
80 1 3
manage_activate_screen()
S
80 1 3
prepare_manage_jetpack_notice()
S
80 1 3
add_wpcom_to_allowed_redirect_hosts()
S
79 1 3
point_edit_comment_links_to_calypso()
S
66 1 9
is_function_in_backtrace()
S
79 1 3
network_enable_administration_menus()
S
80 1 3
jetpack_jitm_ajax_callback()
S
80 1 3
jetpack_icon_user_connected()
S
77 1 4
dashboard_widget()
S
80 1 3
jetpack_main_network_site_option()
S
81 1 3
network_name()
S
77 1 4
get_active_plan()
S
75 1 4
get_jetpack_options_for_reset()
S
80 1 3
network_add_new_users()
S
80 1 3
script_add_async()
S
80 1 3
network_upload_file_types()
S
79 1 3
network_max_upload_file_size()
S
79 1 3
staticize_subdomain()
S
75 1 4
is_user_connected()
S
79 1 3
active_plan_supports()
S
75 1 4
filter_connect_processing_url()
S
76 1 4
ajax_recheck_ssl()
S
65 1 10
translate_module_tag()
S
80 1 3
is_module_active()
S
79 1 3
nonce_url_no_esc()
S
74 1 4
admin_url()
S
71 1 5
catch_errors_on_shutdown()
S
78 1 3
get_assumed_site_creation_date()
S
75 1 4
reconnection_completed()
S
79 1 3
alias_directories()
S
72 1 5
authorize_ending_linked()
S
79 1 3
activate_module_actions()
S
80 1 3
deactivate_module()
S
67 1 7
enable_module_configurable()
S
74 1 4
fix_url_for_bad_hosts()
S
76 1 4
module_configuration_url()
S
69 1 6
sign_role()
S
74 1 4
translate_role_to_cap()
S
72 1 5
translate_user_to_role()
S
72 1 5
translate_current_user_to_role()
S
72 1 5
build_stats_url()
S
75 1 4
do_server_side_stat()
S
72 1 5
set_update_modal_display()
S
79 1 3
stat()
S
73 1 5
unlink_user()
S
75 1 4
add_jetpack_pagestyles()
S
80 1 3
deactivate_dialog_content()
S
72 1 5
api_url()
S
72 1 5
get_module_path()
S
77 1 3
is_development_mode()
S
80 1 3
is_plugin_active()
S
79 1 3
restate()
S
79 1 3
is_onboarding()
S
79 1 3
is_development_version()
S
70 1 6
intercept_plugin_error_scrape_init()
S
78 1 3
current_user_is_connection_owner()
S
75 1 4
wp_rest_authentication_errors()
S
75 1 4
wp_rest_authenticate()
S
75 1 4
user_role_change()
S
76 1 4
internal_verify_xml_rpc_signature()
S
79 1 3
verify_xml_rpc_signature()
S
75 1 4
reset_saved_auth_state()
S
76 1 4
load_xml_rpc_client()
S
79 1 3
validate_remote_register_response()
S
79 1 3
get_module_slug()
S
78 1 3
submit_security_report()
S
79 1 3
get_option_names()
S
80 1 3
get_remote_query_timeout_limit()
S
76 1 4
delete_secrets()
S
78 1 3
get_option()
S
79 1 3
generate_secrets()
S
78 1 3
update_option()
S
74 1 4
xmlrpc_api_url()
S
75 1 4
update_options()
S
75 1 4
delete_option()
S
75 1 4
update_user_token()
S
74 1 4
invalidate_onboarding_token()
S
80 1 3
admin_menu_order()
S
83 1 3