Jetpack D

Total Complexity 826
Dependencies 57
Dependents 119
Total lines 6,770
Lines of code 3,614
Logical lines of code 1,731
Comment lines 2,236
Methods 213
Properties 19

Methods 213

Method Rating Maintainability Complexity Lines of code
admin_page_load()
D
20
50 194
activate_default_modules()
D
29
37 119
upload_handler()
D
29 31 115
verify_json_api_authorization_request()
C
28
23 152
load_modules()
B
37 23 71
deprecated_hooks()
B
25
5 280
plugin_upgrade()
B
39 17 65
admin_init()
A
44 16 40
get_activation_source()
A
44 15 41
verify_onboarding_token()
A
45 15 38
configure()
A
39 13 67
admin_notices()
A
34 7 121
build_connect_url()
A
45 12 39
activate_new_modules()
A
43 11 48
guess_locale_from_lang()
A
51 12 27
jetpack_custom_caps()
A
49 11 35
get_log()
A
50 11 28
jetpack_check_heartbeat_data()
A
47 10 39
__construct()
A
34 6 92
implode_frontend_css()
A
51 10 25
absolutize_css_urls()
A
46 9 36
is_rewind_enabled()
A
54 10 18
is_akismet_active()
A
52 9 23
development_mode_trigger_text()
A
55 9 18
maybe_min_asset()
A
48 8 29
permit_ssl()
A
49 8 29
handle_deprecated_modules()
A
53 8 23
register_assets()
A
44 6 48
get_products_for_purchase()
A
35 2 108
remote_request_handlers()
A
49 7 31
get_other_linked_admins()
S
53 7 24
throw_error_on_activate_plugin()
S
55 7 19
add_remote_request_handlers()
S
55 7 19
check_open_graph()
S
55 7 18
check_privacy()
S
52 6 26
filter_connect_request_body()
S
52 6 25
bail_on_activation()
S
48 5 39
filter_jetpack_current_user_connection_data()
S
53 6 23
get_default_modules()
S
55 6 20
filter_default_modules()
S
58 6 15
get_updates()
S
60 6 13
post_login_form_to_signed_url()
S
58 6 13
handle_default_module_activation()
S
54 5 22
get_user_option_meta_box_order_dashboard()
S
56 5 18
upgrade_on_load()
S
56 5 18
registration_check_domains()
S
57 5 17
plugin_activation()
S
56 5 16
check_twitter_tags()
S
59 5 14
set_suffix_on_min()
S
59 5 14
dismiss_jetpack_notice()
S
58 5 14
intercept_plugin_error_scrape()
S
61 5 12
get_calypso_env()
S
62 5 12
plugin_action_links()
S
61 5 11
alert_auto_ssl_fail()
S
46 2 52
admin_banner_styles()
S
55 4 19
show_development_mode_notice()
S
56 4 18
handle_post_authorization_actions()
S
57 4 17
plugin_initialize()
S
57 4 17
file_system_write_access()
S
57 4 17
add_configure_hook()
S
57 4 16
maybe_clear_other_linked_admins_transient()
S
66 5 8
get_site_user_count()
S
59 4 14
get_translated_modules()
S
60 4 13
get_calypso_host()
S
61 4 13
track_xmlrpc_error()
S
62 4 11
load_view()
S
62 4 11
deactivate_dialog()
S
53 3 24
point_edit_post_links_to_calypso()
S
55 3 22
admin_help()
S
47 2 37
jetpack_user_col_style()
S
60 3 19
get_parsed_theme_data()
S
55 3 19
get_parsed_plugin_data()
S
55 3 18
log()
S
56 3 17
check_identity_crisis()
S
69 4 6
normalize_url_protocol_agnostic()
S
64 4 8
get_connected_user_email()
S
60 3 15
concat_remove_style_loader_tag()
S
64 4 9
user_meta_cleanup()
S
61 3 13
jetpack_show_user_connected_icon()
S
61 3 12
validate_onboarding_token_action()
S
62 3 12
authorize_ending_authorized()
S
60 3 12
is_multi_network()
S
62 3 12
maybe_set_version_option()
S
62 3 11
get_active_plugins()
S
62 3 11
jetpack_connection_banner_callback()
S
63 3 11
get_stat_data()
S
63 3 11
filter_sync_callable_whitelist()
S
55 2 19
authorize_starting()
S
58 2 16
is_active_and_not_offline_mode()
S
70 3 6
current_user_can_purchase()
S
66 3 9
preserve_action_in_login_form_for_json_api_authorization()
S
68 3 6
get_content_width()
S
69 3 6
filter_connect_redirect_url()
S
63 3 10
login_init()
S
59 2 15
get_secrets()
S
63 3 10
apply_activation_source_to_args()
S
65 3 9
sort_modules()
S
69 3 6
get_cloud_site_options()
S
61 2 13
plugin_deactivation()
S
61 2 12
get_additional_stat_data()
S
62 2 11
show_backups_ui()
S
77 2 3
initialize_stats()
S
72 2 5
build_reconnect_url()
S
74 2 4
do_stats()
S
66 2 9
create_onboarding_token()
S
67 2 8
connection()
S
69 2 7
login_url()
S
67 2 7
handle_unique_registrations_stats()
S
64 2 10
init()
S
66 2 8
admin_body_class()
S
68 2 6
check_rest_api_compat()
S
71 2 6
allow_wpcom_domain()
S
69 2 7
log_settings_change()
S
69 2 7
push_stats()
S
74 2 5
jetpack_site_disconnected()
S
67 2 8
get_locale()
S
69 2 7
network_allow_new_registrations()
S
76 2 3
network_site_upload_space()
S
78 2 3
enqueue_block_style()
S
73 2 5
is_single_user_site()
S
63 2 9
do_version_bump()
S
68 2 7
is_onboarding()
S
67 2 7
get_master_user_email()
S
69 2 7
filter_sync_multisite_callable_whitelist()
S
62 1 12
add_token_to_login_redirect_json_api_authorization()
S
62 1 12
filter_token_request_body()
S
63 1 11
activate_module()
S
78 1 3
get_update_details()
S
67 1 8
network_enable_administration_menus()
S
80 1 3
maybe_inline_style()
S
75 1 4
is_main_network_option()
S
79 1 3
is_multisite()
S
80 1 3
sync_idc_optin()
S
75 1 4
get_sync_error_idc_option()
S
75 1 4
jetpack_plugin_portal_containers()
S
81 1 3
validate_sync_error_idc_option()
S
75 1 4
is_active()
S
80 1 3
network_upload_file_types()
S
79 1 3
is_connection_ready()
S
78 1 3
login_message_json_api_authorization()
S
69 1 6
is_development_mode()
S
75 1 4
set_update_modal_display()
S
79 1 3
allow_wpcom_environments()
S
80 1 3
is_redirect_encoded()
S
78 1 3
allow_wpcom_public_api_domain()
S
77 1 4
store_json_api_authorization_token()
S
68 1 6
network_max_upload_file_size()
S
79 1 3
on_idc_disconnect()
S
79 1 3
is_development_version()
S
70 1 6
jetpack_track_last_sync_callback()
S
74 1 4
get_partner_coupon_product_descriptions()
S
79 1 3
update_active_modules()
S
79 1 3
delete_active_modules()
S
80 1 3
late_initialization()
S
67 1 7
add_wpcom_to_allowed_redirect_hosts()
S
79 1 3
add_jetpack_pagestyles()
S
80 1 3
point_edit_comment_links_to_calypso()
S
64 1 10
try_registration()
S
75 1 4
get_file_url_for_environment()
S
79 1 3
network_add_new_users()
S
79 1 3
disconnect_user()
S
81 1 3
admin_menu_css()
S
81 1 3
jetpack_main_network_site_option()
S
81 1 3
jetpack_icon_user_connected()
S
76 1 4
network_name()
S
77 1 4
build_raw_urls()
S
75 1 4
get_jetpack_options_for_reset()
S
80 1 3
disconnect()
S
75 1 4
module_configuration_url()
S
69 1 6
login_form_json_api_authorization()
S
67 1 7
stat()
S
73 1 5
get_active_modules()
S
80 1 3
admin_url()
S
79 1 3
get_module_path()
S
79 1 3
get_module()
S
79 1 3
reconnection_completed()
S
79 1 3
activate_default_modules_on_site_register()
S
76 1 4
get_file_data()
S
79 1 3
authorize_ending_linked()
S
79 1 3
translate_module_tag()
S
80 1 3
is_module_active()
S
79 1 3
get_module_slug()
S
79 1 3
filter_connect_processing_url()
S
72 1 5
is_module()
S
79 1 3
catch_errors()
S
79 1 3
build_authorize_url()
S
64 1 9
catch_errors_on_shutdown()
S
78 1 3
build_stats_url()
S
74 1 4
do_server_side_stat()
S
71 1 5
alias_directories()
S
72 1 5
nonce_url_no_esc()
S
74 1 4
get_available_modules()
S
78 1 3
staticize_subdomain()
S
75 1 4
register()
S
75 1 4
is_user_connected()
S
75 1 4
should_set_cookie()
S
79 1 3
restate()
S
79 1 3
state()
S
78 1 3
load_xml_rpc_client()
S
79 1 3
get_connected_user_data()
S
75 1 4
intercept_plugin_error_scrape_init()
S
78 1 3
filter_register_request_body()
S
75 1 4
enable_module_configurable()
S
74 1 4
ajax_recheck_ssl()
S
64 1 10
generate_secrets()
S
74 1 4
current_user_ip()
S
75 1 4
deactivate_module()
S
79 1 3
is_plugin_active()
S
78 1 3
get_option_names()
S
80 1 3
invalidate_onboarding_token()
S
80 1 3
get_option()
S
79 1 3
glob_php()
S
79 1 3
plugins_page_init_jetpack_state()
S
80 1 3