Jetpack D

Total Complexity 770
Dependencies 51
Dependents 109
Total lines 6,346
Lines of code 3,343
Logical lines of code 1,630
Comment lines 2,116
Methods 194
Properties 20

Methods 194

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