Jetpack D

Total Complexity 745
Dependencies 52
Dependents 105
Total lines 6,092
Lines of code 3,248
Logical lines of code 1,578
Comment lines 2,037
Methods 193
Properties 18

Methods 193

Method Rating Maintainability Complexity Lines of code
admin_page_load()
D
22
45 173
activate_default_modules()
D
29
37 117
upload_handler()
D
29 31 115
load_modules()
B
38 21 65
deprecated_hooks()
B
24
5 288
plugin_upgrade()
B
38 19 71
admin_init()
A
45 16 36
get_activation_source()
A
44 15 41
verify_onboarding_token()
A
45 15 39
configure()
A
38 12 75
admin_notices()
A
34 7 123
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
absolutize_css_urls()
A
46 9 36
is_rewind_enabled()
A
54 10 18
get_products_for_purchase()
A
32 2 137
is_akismet_active()
A
52 9 23
development_mode_trigger_text()
A
55 9 18
permit_ssl()
A
49 8 29
maybe_min_asset()
A
48 8 29
handle_deprecated_modules()
A
52 8 25
filter_default_modules()
A
53 8 22
__construct()
A
37 4 76
remote_request_handlers()
A
49 7 31
get_other_linked_admins()
S
53 7 24
plugin_post_activation()
S
55 7 20
throw_error_on_activate_plugin()
S
55 7 19
add_remote_request_handlers()
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
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
get_translated_modules()
S
57 5 16
plugin_activation()
S
56 5 16
set_suffix_on_min()
S
59 5 14
dismiss_jetpack_notice()
S
58 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
file_system_write_access()
S
57 4 17
upgrade_on_load()
S
58 4 17
registration_check_domains()
S
57 4 17
handle_post_authorization_actions()
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
load_view()
S
62 4 11
track_xmlrpc_error()
S
62 4 11
point_edit_post_links_to_calypso()
S
54 3 23
deactivate_dialog()
S
55 3 20
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
plugin_action_links()
S
64 4 9
initialize_tracking()
S
66 4 8
normalize_url_protocol_agnostic()
S
64 4 8
get_connected_user_email()
S
60 3 15
check_identity_crisis()
S
69 4 6
show_development_mode_notice()
S
59 3 14
validate_onboarding_token_action()
S
61 3 13
user_meta_cleanup()
S
61 3 13
is_multi_network()
S
62 3 12
get_stat_data()
S
63 3 11
maybe_set_version_option()
S
62 3 11
authorize_ending_authorized()
S
61 3 11
get_active_plugins()
S
62 3 11
authorize_starting()
S
58 2 16
login_init()
S
59 2 15
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
preserve_action_in_login_form_for_json_api_authorization()
S
68 3 6
current_user_can_purchase()
S
66 3 9
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
get_master_user_email()
S
69 2 7
do_stats()
S
66 2 9
handle_unique_registrations_stats()
S
64 2 10
build_reconnect_url()
S
74 2 4
jetpack_site_disconnected()
S
67 2 8
check_rest_api_compat()
S
71 2 6
connection()
S
69 2 7
is_single_user_site()
S
63 2 9
login_url()
S
67 2 7
network_site_upload_space()
S
78 2 3
network_allow_new_registrations()
S
76 2 3
get_locale()
S
69 2 7
push_stats()
S
74 2 5
show_backups_ui()
S
77 2 3
allow_wpcom_domain()
S
69 2 7
initialize_stats()
S
72 2 5
create_onboarding_token()
S
65 2 9
do_version_bump()
S
68 2 7
log_settings_change()
S
69 2 7
admin_body_class()
S
68 2 6
enqueue_block_style()
S
73 2 5
filter_sync_multisite_callable_whitelist()
S
62 1 12
filter_token_request_body()
S
63 1 11
point_edit_comment_links_to_calypso()
S
63 1 11
network_enable_administration_menus()
S
80 1 3
is_main_network_option()
S
79 1 3
is_multisite()
S
80 1 3
module_configuration_url()
S
69 1 6
login_message_json_api_authorization()
S
75 1 4
verify_json_api_authorization_request()
S
75 1 4
admin_help()
S
98 1 1
add_token_to_login_redirect_json_api_authorization()
S
74 1 4
network_max_upload_file_size()
S
79 1 3
is_redirect_encoded()
S
74 1 4
allow_wpcom_public_api_domain()
S
75 1 4
store_json_api_authorization_token()
S
75 1 4
get_update_details()
S
67 1 8
is_active()
S
80 1 3
login_form_json_api_authorization()
S
65 1 8
allow_wpcom_environments()
S
80 1 3
network_add_new_users()
S
79 1 3
network_upload_file_types()
S
79 1 3
on_idc_disconnect()
S
79 1 3
run_initialize_tracking_action()
S
81 1 3
update_active_modules()
S
79 1 3
delete_active_modules()
S
80 1 3
late_initialization()
S
67 1 7
get_partner_coupon_product_descriptions()
S
79 1 3
add_wpcom_to_allowed_redirect_hosts()
S
79 1 3
disconnect()
S
75 1 4
filter_sync_callable_whitelist()
S
66 1 8
maybe_inline_style()
S
75 1 4
get_calypso_env()
S
75 1 4
get_file_url_for_environment()
S
79 1 3
jetpack_main_network_site_option()
S
81 1 3
get_jetpack_options_for_reset()
S
80 1 3
network_name()
S
77 1 4
set_update_modal_display()
S
79 1 3
should_set_cookie()
S
79 1 3
is_connection_ready()
S
78 1 3
state()
S
78 1 3
restate()
S
79 1 3
activate_module()
S
78 1 3
filter_connect_redirect_url()
S
75 1 4
get_module_path()
S
79 1 3
filter_connect_request_body()
S
75 1 4
build_authorize_url()
S
74 1 4
get_module()
S
79 1 3
build_stats_url()
S
74 1 4
do_server_side_stat()
S
71 1 5
stat()
S
73 1 5
deactivate_module()
S
79 1 3
alias_directories()
S
72 1 5
get_file_data()
S
79 1 3
translate_module_tag()
S
80 1 3
get_active_modules()
S
80 1 3
is_module_active()
S
79 1 3
catch_errors_on_shutdown()
S
75 1 4
jetpack_plugin_portal_containers()
S
81 1 3
is_module()
S
79 1 3
get_module_slug()
S
79 1 3
authorize_ending_linked()
S
79 1 3
catch_errors()
S
75 1 4
get_option_names()
S
80 1 3
is_development_version()
S
70 1 6
add_jetpack_pagestyles()
S
80 1 3
current_user_ip()
S
75 1 4
enable_module_configurable()
S
74 1 4
is_plugin_active()
S
78 1 3
invalidate_onboarding_token()
S
75 1 4
plugins_page_init_jetpack_state()
S
80 1 3
ajax_recheck_ssl()
S
64 1 10
get_available_modules()
S
78 1 3
sort_modules()
S
79 1 3
get_option()
S
79 1 3
nonce_url_no_esc()
S
74 1 4
admin_url()
S
79 1 3
intercept_plugin_error_scrape_init()
S
78 1 3
glob_php()
S
79 1 3
reconnection_completed()
S
79 1 3
activate_default_modules_on_site_register()
S
76 1 4
disconnect_user()
S
81 1 3