Jetpack D

Total Complexity 920
Dependencies 51
Dependents 126
Total lines 6,763
Lines of code 3,837
Logical lines of code 1,964
Comment lines 1,883
Methods 212
Properties 19

Methods 212

Method Rating Maintainability Complexity Lines of code
admin_page_load()
D
16
64 248
activate_default_modules()
D
29 36 115
upload_handler()
C
32 23 104
verify_json_api_authorization_request()
C
33 23 98
load_modules()
B
38 22 65
state()
B
42 20 48
get_available_modules()
B
42 19 48
deprecated_hooks()
B
26
5 252
plugin_upgrade()
B
39 17 65
activate_module()
B
40 17 61
get_module()
B
41 16 51
get_activation_source()
A
44 15 41
verify_onboarding_token()
A
45 15 38
maybe_inline_style()
A
45 13 39
admin_init()
A
45 13 36
admin_notices()
A
35 7 117
build_connect_url()
A
45 12 39
activate_new_modules()
A
43 11 46
guess_locale_from_lang()
A
51 12 27
configure()
A
43 10 50
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 91
implode_frontend_css()
A
51 10 25
absolutize_css_urls()
A
46 9 35
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
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
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
is_rewind_enabled()
S
56 6 17
filter_default_modules()
S
59 6 15
get_updates()
S
60 6 13
get_products_for_purchase()
S
38 1 86
current_user_ip()
S
56 5 19
deactivate_dialog()
S
49 4 33
upgrade_on_load()
S
57 5 18
get_user_option_meta_box_order_dashboard()
S
56 5 18
registration_check_domains()
S
57 5 17
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
post_login_form_to_signed_url()
S
60 5 12
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
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
get_site_user_count()
S
59 4 13
get_translated_modules()
S
60 4 13
get_calypso_host()
S
61 4 13
jetpack_menu_order()
S
62 4 12
plugin_action_links()
S
60 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
58 3 15
get_connected_user_email()
S
60 3 15
check_identity_crisis()
S
69 4 6
should_set_cookie()
S
66 4 8
concat_remove_style_loader_tag()
S
65 4 9
intercept_plugin_error_scrape()
S
63 4 10
normalize_url_protocol_agnostic()
S
64 4 8
plugin_initialize()
S
60 3 13
plugin_activation()
S
59 3 13
user_meta_cleanup()
S
61 3 13
validate_onboarding_token_action()
S
62 3 12
jetpack_show_user_connected_icon()
S
62 3 12
authorize_ending_authorized()
S
60 3 12
is_multi_network()
S
62 3 12
get_active_plugins()
S
62 3 11
maybe_set_version_option()
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 20
authorize_starting()
S
58 2 16
current_user_can_purchase()
S
66 3 9
filter_connect_redirect_url()
S
63 3 10
sort_modules()
S
69 3 6
is_active_and_not_offline_mode()
S
70 3 6
is_connection_ready()
S
64 3 9
get_content_width()
S
69 3 6
login_init()
S
59 2 15
get_secrets()
S
63 3 10
apply_activation_source_to_args()
S
65 3 9
get_cloud_site_options()
S
61 2 13
catch_errors()
S
61 2 12
plugin_deactivation()
S
62 2 11
build_reconnect_url()
S
74 2 4
connection()
S
69 2 7
initialize_stats()
S
73 2 5
activate_default_modules_on_site_register()
S
64 2 10
handle_unique_registrations_stats()
S
64 2 10
load_view()
S
65 2 9
show_backups_ui()
S
77 2 3
do_stats()
S
67 2 9
create_onboarding_token()
S
68 2 7
init()
S
66 2 8
login_url()
S
67 2 7
jetpack_site_disconnected()
S
67 2 8
allow_wpcom_domain()
S
70 2 7
push_stats()
S
74 2 5
get_locale()
S
70 2 7
network_allow_new_registrations()
S
77 2 3
network_site_upload_space()
S
78 2 3
is_single_user_site()
S
65 2 8
get_master_user_email()
S
69 2 7
is_module()
S
77 2 3
do_version_bump()
S
68 2 7
enqueue_block_style()
S
73 2 5
check_rest_api_compat()
S
71 2 6
admin_body_class()
S
68 2 6
get_additional_stat_data()
S
63 2 10
log_settings_change()
S
69 2 7
add_token_to_login_redirect_json_api_authorization()
S
62 1 12
filter_sync_multisite_callable_whitelist()
S
62 1 12
filter_token_request_body()
S
63 1 11
sync_idc_optin()
S
75 1 4
is_main_network_option()
S
79 1 3
is_multisite()
S
80 1 3
get_update_details()
S
67 1 8
is_active()
S
80 1 3
get_sync_error_idc_option()
S
75 1 4
network_max_upload_file_size()
S
79 1 3
validate_sync_error_idc_option()
S
75 1 4
is_development_mode()
S
75 1 4
is_onboarding()
S
79 1 3
is_development_version()
S
70 1 6
login_message_json_api_authorization()
S
69 1 6
is_user_connected()
S
75 1 4
network_enable_administration_menus()
S
80 1 3
disconnect_user()
S
81 1 3
network_upload_file_types()
S
79 1 3
admin_menu_css()
S
82 1 3
delete_active_modules()
S
81 1 3
late_initialization()
S
69 1 6
add_wpcom_to_allowed_redirect_hosts()
S
79 1 3
admin_menu_order()
S
83 1 3
point_edit_comment_links_to_calypso()
S
66 1 9
jetpack_track_last_sync_callback()
S
74 1 4
get_file_url_for_environment()
S
79 1 3
stat()
S
73 1 5
intercept_plugin_error_scrape_init()
S
78 1 3
jetpack_main_network_site_option()
S
81 1 3
network_name()
S
77 1 4
jetpack_icon_user_connected()
S
77 1 4
build_raw_urls()
S
75 1 4
get_jetpack_options_for_reset()
S
80 1 3
allow_wpcom_environments()
S
70 1 7
network_add_new_users()
S
80 1 3
allow_wpcom_public_api_domain()
S
77 1 4
is_redirect_encoded()
S
79 1 3
admin_url()
S
71 1 5
build_stats_url()
S
75 1 4
catch_errors_on_shutdown()
S
78 1 3
ajax_recheck_ssl()
S
65 1 10
alias_directories()
S
72 1 5
deactivate_module()
S
67 1 7
nonce_url_no_esc()
S
74 1 4
enable_module_configurable()
S
74 1 4
is_module_active()
S
79 1 3
module_configuration_url()
S
69 1 6
reconnection_completed()
S
79 1 3
set_update_modal_display()
S
79 1 3
authorize_ending_linked()
S
79 1 3
try_registration()
S
75 1 4
on_idc_disconnect()
S
79 1 3
disconnect()
S
75 1 4
invalidate_onboarding_token()
S
80 1 3
translate_module_tag()
S
80 1 3
filter_connect_processing_url()
S
72 1 5
restate()
S
79 1 3
store_json_api_authorization_token()
S
68 1 6
preserve_action_in_login_form_for_json_api_authorization()
S
74 1 4
get_connected_user_data()
S
75 1 4
login_form_json_api_authorization()
S
67 1 7
staticize_subdomain()
S
75 1 4
do_server_side_stat()
S
72 1 5
deactivate_dialog_content()
S
72 1 5
is_plugin_active()
S
79 1 3
get_module_path()
S
77 1 3
load_xml_rpc_client()
S
79 1 3
get_option_names()
S
80 1 3
filter_register_request_body()
S
75 1 4
register()
S
75 1 4
get_option()
S
79 1 3
generate_secrets()
S
74 1 4
get_module_slug()
S
78 1 3
add_jetpack_pagestyles()
S
80 1 3