Code Analysis: Health Check & Troubleshooting 1.5.0

Function Rating Maintainability Complexity Lines of code
WP_Debug_Data::debug_data()
D
0
134 874
Health_Check_Troubleshooting_MU::display_dashboard_widget()
D
21
28 287
Health_Check_Troubleshooting_MU::health_check_troubleshoot_get_captures()
B
31 17 148
WP_Debug_Data::format()
B
43 20 45
Health_Check_Troubleshooting_MU::handle_plugin_bulk_actions()
B
41 15 63
Health_Check_Troubleshooting_MU::health_check_troubleshoot_menu_bar()
A
32 10 135
Health_Check_Loopback::loopback_no_plugins()
A
40 9 67
Health_Check::start_troubleshoot_single_plugin_mode()
A
47 10 38
Health_Check_Troubleshoot::show_enable_troubleshoot_form()
A
46 9 45
Health_Check_Loopback::can_perform_loopback()
A
41 8 58
wp_get_environment_type()
A
48 9 37
wp_check_php_version()
A
51 8 25
get_user_locale()
S
58 8 15
Health_Check_Troubleshoot::setup_must_use_plugin()
S
53 7 23
Health_Check_Troubleshooting_MU::health_check_troubleshoot_theme_template()
S
55 7 23
Health_Check_Troubleshoot::maybe_update_must_use_plugin()
S
54 7 20
Health_Check::enqueues()
S
48 6 34
HealthCheck\WP_CLI\Status::run()
S
49 6 30
Health_Check_Troubleshooting_MU::plugin_actions()
S
47 5 43
Health_Check_Loopback::loopback_test_default_theme()
S
48 5 37
Health_Check_Loopback::loopback_test_individual_plugins()
S
48 5 36
Health_Check_Files_Integrity::view_file_diff()
S
47 5 36
Health_Check_Troubleshooting_MU::health_check_troubleshoot_theme_stylesheet()
S
57 6 20
Health_Check_Files_Integrity::parse_checksum_results()
S
56 6 17
Health_Check_Troubleshooting_MU::health_check_loopback_test_disable_plugins()
S
57 6 16
Health_Check_Mail_Check::run_mail_check()
S
45 4 44
Health_Check_Plugin_Compatibility::tab_content()
S
49 4 37
WP_Site_Health::site_health_tab()
S
57 5 18
WP_Site_Health::action_admin_menu()
S
50 4 30
Health_Check_Troubleshooting_MU::is_troubleshooting()
S
59 5 15
Health_Check_Plugin_Compatibility::get_supported_php()
S
51 4 29
Health_Check::troubleshoot_plugin_action()
S
51 4 28
Health_Check_Phpinfo::tab_content()
S
52 4 27
Health_Check_Files_Integrity::create_the_response()
S
46 3 40
Health_Check_Tool::tab_setup()
S
55 4 22
Health_Check_Plugin_Compatibility::check_plugin_version()
S
57 4 17
Health_Check::start_troubleshoot_mode()
S
64 5 9
Health_Check_Files_Integrity::call_checksum_api()
S
58 4 15
Health_Check_Troubleshooting_MU::test_site_state()
S
59 4 14
Health_Check_Plugin_Compatibility::get_highest_supported_php()
S
61 4 13
Health_Check::get_filesystem_credentials()
S
56 3 19
is_countable()
S
69 4 7
Health_Check::maybe_grant_site_health_caps()
S
69 4 6
wp_timezone_string()
S
59 3 14
wp_get_update_php_url()
S
62 3 12
WP_Debug_Data::get_database_size()
S
62 3 11
Health_Check_Troubleshooting_MU::init()
S
51 2 25
Health_Check_Troubleshooting_MU::prompt_install_default_theme()
S
58 2 18
WP_Site_Health::enqueues()
S
57 2 17
Health_Check_Phpinfo::add_site_health_tab_content()
S
67 3 8
Health_Check_Troubleshooting_MU::has_default_theme()
S
68 3 8
Health_Check_Troubleshooting_MU::dashboard_widget_scripts()
S
70 3 6
Health_Check::add_site_health_tab_content()
S
65 3 10
WP_Site_Health::render_menu_page()
S
70 3 5
Health_Check_Mail_Check::tab_content()
S
54 1 30
Health_Check_Troubleshooting_MU::enqueue_assets()
S
63 3 10
Health_Check_Troubleshooting_MU::remove_plugin_bulk_actions()
S
63 2 11
Health_Check::init()
S
56 1 16
Health_Check::maybe_remove_old_scheduled_events()
S
74 2 5
Health_Check_Troubleshooting_MU::health_check_troubleshooter_mode_logout()
S
74 2 5
WP_Site_Health::cron_schedules()
S
65 2 9
Health_Check::admin_notices()
S
67 2 9
Health_Check_Troubleshoot::initiate_troubleshooting_mode()
S
64 2 9
Health_Check_Tool::has_description()
S
78 2 3
Health_Check_Troubleshooting_MU::override_theme()
S
72 2 6
Health_Check_Troubleshooting_MU::load_options()
S
67 2 7
Health_Check_Troubleshooting_MU::remove_plugin_theme_install()
S
67 2 7
Health_Check::current_tab()
S
78 2 3
Health_Check_Phpinfo::__construct()
S
63 2 10
Health_Check_Plugin_Compatibility::register_plugin_compat_rest_route()
S
62 1 13
Health_Check_Troubleshoot::session_started()
S
62 1 13
Health_Check_Files_Integrity::tab_content()
S
66 1 13
Health_Check::page_plugin_action()
S
65 1 9
WP_Site_Health::init()
S
70 1 6
Health_Check_Troubleshooting_MU::add_dashboard_notice()
S
65 1 9
Health_Check_Tool::tab_content()
S
98 1 1
get_user_count()
S
80 1 3
Health_Check_Troubleshooting_MU::disable_troubleshooting_mode()
S
66 1 8
Health_Check_Troubleshooting_MU::__construct()
S
82 1 3
HealthCheck\CLI::status()
S
74 1 4
Health_Check::tabs()
S
67 1 8
Health_Check_Troubleshooting_MU::theme_exists()
S
79 1 3
WP_Debug_Data::check_for_updates()
S
75 1 5
Health_Check::display_notice()
S
71 1 7
Health_Check_Files_Integrity::__construct()
S
67 1 7
Health_Check_Plugin_Compatibility::__construct()
S
64 1 10
Health_Check::__construct()
S
82 1 3
Health_Check_Troubleshooting_MU::plugin_activated()
S
80 1 3
Health_Check_Files_Integrity::run_files_integrity_check()
S
71 1 6
Health_Check::load_i18n()
S
77 1 3
Health_Check_Troubleshooting_MU::get_unfiltered_plugin_list()
S
71 1 6
Health_Check::add_site_health_navigation_tabs()
S
66 1 9
Health_Check_Mail_Check::__construct()
S
69 1 6
HealthCheck\WP_CLI\Status::__construct()
S
81 1 3
Health_Check_Troubleshoot::old_mu_plugin_exists()
S
79 1 3
wp_get_upload_dir()
S
80 1 3
Health_Check_Troubleshoot::mu_plugin_exists()
S
79 1 3
Health_Check_Tool::__construct()
S
79 1 3
Health_Check_Tool::get_description()
S
82 1 3
WP_Site_Health::__construct()
S
82 1 3