Code Analysis: Health Check & Troubleshooting 1.7.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 301
Health_Check_Troubleshooting_MU::health_check_troubleshoot_get_captures()
D
25
22 247
WP_Debug_Data::format()
B
43 20 45
Health_Check_Files_Integrity::parse_checksum_results()
B
42 17 52
Health_Check_Troubleshooting_MU::health_check_troubleshoot_menu_bar()
B
31 10 143
Health_Check_Troubleshooting_MU::handle_plugin_bulk_actions()
B
41 15 63
HealthCheck\WP_CLI\Status::run()
A
43 12 49
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_Mail_Check::run_mail_check()
S
42 5 53
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::enqueues()
S
47 6 36
Health_Check_Troubleshoot::maybe_update_must_use_plugin()
S
54 7 20
Health_Check_Screenshots::display_screenshot()
S
48 6 34
Health_Check_Troubleshooting_MU::plugin_actions()
S
46 5 45
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_Debug_Log_Viewer::read_debug_log()
S
55 6 20
Health_Check_Troubleshooting_MU::health_check_loopback_test_disable_plugins()
S
57 6 16
Health_Check_Plugin_Compatibility::tab_content()
S
49 4 37
WP_Site_Health::site_health_tab()
S
57 5 18
Health_Check_Beta_Features::toggle_beta_features()
S
58 5 17
Health_Check_Plugin_Compatibility::get_supported_php()
S
51 4 30
Health_Check_Screenshots::delete_screenshot()
S
63 6 10
WP_Site_Health::action_admin_menu()
S
50 4 30
Health_Check_Troubleshooting_MU::is_troubleshooting()
S
59 5 15
Health_Check_Troubleshooting_MU::nonce_confirmation_prompt()
S
46 3 44
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_Screenshots::register_rest_routes()
S
50 3 31
Health_Check_Files_Integrity::call_checksum_api()
S
58 4 15
Health_Check::start_troubleshoot_mode()
S
64 5 9
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_Troubleshooting_MU::validate_action_nonce()
S
61 4 12
Health_Check_Htaccess::tab_content()
S
55 3 23
Health_Check_Debug_Log_Viewer::tab_content()
S
56 3 20
Health_Check::get_filesystem_credentials()
S
56 3 19
Health_Check_Screenshots::admin_menubar_button()
S
57 3 18
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
Health_Check_Troubleshooting_MU::enqueue_assets()
S
60 3 12
Health_Check_Troubleshooting_MU::prompt_install_default_theme()
S
54 2 27
WP_Debug_Data::get_database_size()
S
62 3 11
Health_Check_Troubleshooting_MU::init()
S
51 2 26
Health_Check_Screenshots::enqueue_scripts()
S
55 2 20
WP_Site_Health::enqueues()
S
56 2 18
Health_Check_Robotstxt::tab_content()
S
59 2 16
Health_Check_Beta_Features::tab_content()
S
58 2 16
Health_Check_Troubleshooting_MU::has_default_theme()
S
68 3 8
Health_Check::add_site_health_tab_content()
S
65 3 10
Health_Check_Mail_Check::tab_content()
S
54 1 30
Health_Check_Troubleshooting_MU::get_clean_url()
S
65 3 8
Health_Check_Phpinfo::add_site_health_tab_content()
S
67 3 8
WP_Site_Health::render_menu_page()
S
70 3 5
Health_Check_Troubleshooting_MU::dashboard_widget_scripts()
S
70 3 6
Health_Check_Screenshots::__construct()
S
58 2 14
Health_Check_Troubleshooting_MU::remove_plugin_bulk_actions()
S
63 2 11
Health_Check_Screenshots::register_post_type()
S
55 1 22
Health_Check::init()
S
56 1 16
Health_Check_Troubleshooting_MU::health_check_troubleshooter_mode_logout()
S
74 2 5
Health_Check_Phpinfo::__construct()
S
63 2 10
Health_Check_Troubleshooting_MU::remove_plugin_theme_install()
S
67 2 7
Health_Check::current_tab()
S
78 2 3
WP_Site_Health::cron_schedules()
S
65 2 9
Health_Check_Screenshots::maybe_404()
S
66 2 9
Health_Check::maybe_remove_old_scheduled_events()
S
74 2 5
Health_Check_Troubleshoot::initiate_troubleshooting_mode()
S
64 2 9
Health_Check_Troubleshooting_MU::load_options()
S
67 2 7
Health_Check_Screenshots::add_site_health_tab_content()
S
71 2 6
Health_Check_Tool::has_description()
S
78 2 3
Health_Check_Troubleshooting_MU::override_theme()
S
72 2 6
Health_Check::admin_notices()
S
67 2 9
Health_Check_Troubleshoot::session_started()
S
62 1 13
Health_Check_Files_Integrity::tab_content()
S
66 1 13
Health_Check_Plugin_Compatibility::register_plugin_compat_rest_route()
S
62 1 13
Health_Check_Screenshots::store_screenshot()
S
61 1 13
Health_Check_Tool::get_description()
S
82 1 3
Health_Check_Troubleshoot::mu_plugin_exists()
S
79 1 3
Health_Check_Plugin_Compatibility::__construct()
S
64 1 10
HealthCheck\CLI::status()
S
74 1 4
WP_Site_Health::init()
S
70 1 6
Health_Check_Troubleshooting_MU::prepare_action_nonce()
S
67 1 8
Health_Check_Files_Integrity::__construct()
S
67 1 7
get_user_count()
S
80 1 3
Health_Check::page_plugin_action()
S
65 1 9
Health_Check_Screenshots::user_can_screenshot()
S
80 1 3
Health_Check_Troubleshooting_MU::__construct()
S
82 1 3
Health_Check_Tool::tab_content()
S
98 1 1
HealthCheck\WP_CLI\Status::__construct()
S
81 1 3
Health_Check_Debug_Log_Viewer::__construct()
S
72 1 5
Health_Check_Htaccess::__construct()
S
72 1 5
Health_Check_Screenshots::add_site_health_navigation_tabs()
S
68 1 8
Health_Check_Troubleshoot::old_mu_plugin_exists()
S
79 1 3
Health_Check_Mail_Check::__construct()
S
69 1 6
Health_Check_Troubleshooting_MU::get_unfiltered_plugin_list()
S
71 1 6
wp_get_upload_dir()
S
80 1 3
Health_Check_Troubleshooting_MU::disable_troubleshooting_mode()
S
65 1 9
Health_Check_Mail_Check::mail_failed()
S
81 1 3
Health_Check::__construct()
S
82 1 3
Health_Check_Files_Integrity::run_files_integrity_check()
S
71 1 6
Health_Check::tabs()
S
67 1 8
Health_Check::load_i18n()
S
77 1 3
WP_Site_Health::__construct()
S
82 1 3
Health_Check_Troubleshooting_MU::add_dashboard_notice()
S
65 1 9
Health_Check::display_notice()
S
71 1 7
Health_Check_Troubleshooting_MU::theme_exists()
S
79 1 3
Health_Check_Robotstxt::__construct()
S
72 1 5
Health_Check::add_site_health_navigation_tabs()
S
66 1 9
WP_Debug_Data::check_for_updates()
S
75 1 5
Health_Check_Tool::__construct()
S
79 1 3
Health_Check_Troubleshooting_MU::plugin_activated()
S
80 1 3
Health_Check_Beta_Features::__construct()
S
69 1 6