Code Analysis: Code Profiler 1.7.5

Function Rating Maintainability Complexity Lines of code
codeprofiler_start_profiler()
D
7
76 454
CodeProfiler_Report::parse_calls()
D
34 32 89
code_profiler_save_settings()
C
35 24 87
CodeProfiler_Table_Profiles::fetch_profiles()
B
38 22 67
CP_Troubleshooter::get_system_info()
B
36 16 80
CodeProfiler_Report::save_data()
B
36 15 81
CodeProfiler_Report::save_connections()
A
44 15 44
codeprofiler_rename()
A
41 14 58
CodeProfiler_Profiler::__construct()
A
37 10 82
codeprofiler_prepare_report()
A
40 11 66
code_profiler_check_uploadsdir()
A
43 12 51
CodeProfiler_CLI::view()
A
39 11 65
code_profiler_enqueue()
A
33 7 115
CP_Troubleshooter::get_all_plugins()
A
46 12 39
code_profiler_getsummarystats()
A
39 9 77
code_profiler_suggested_memory()
A
49 11 31
CodeProfiler_CLI::run()
A
40 8 61
CodeProfiler_Report::get_plugins_theme_name()
A
50 10 29
code_profiler_display_tabs()
A
46 8 44
code_profiler_composer_warning()
A
44 8 44
code_profiler_disable_opcode()
A
51 9 26
code_profiler_fetch_pages()
A
43 7 53
code_profiler_fetch_admin_pages()
A
48 8 34
CodeProfiler_Stream::stream_metadata()
A
50 8 30
CodeProfiler_Table_Profiles::column_default()
A
51 8 27
code_profiler_init_update()
A
54 8 23
code_profiler_activate()
A
50 7 31
CodeProfiler_Stream::stream_open()
S
53 7 21
CodeProfiler_Profiler::code_profiler_shutdown()
S
46 6 36
CodeProfiler_Profiler::code_profiler_tick_handler()
S
50 6 31
code_profiler_upload_dir()
S
58 7 14
CodeProfiler_Report::plugin_or_theme()
S
53 6 23
code_profiler_get_profile_data()
S
48 5 35
code_profiler_get_profile_path()
S
60 6 11
CodeProfiler_Table_Profiles::search_profile_file()
S
56 5 19
CP_Troubleshooter::get_theme()
S
56 5 18
CodeProfiler_Report::__construct()
S
48 4 33
CodeProfiler_Table_Profiles::column_profile()
S
44 3 48
CodeProfiler_Table_Profiles::delete_profiles()
S
58 5 16
CodeProfiler_Stream::stream_set_option()
S
58 5 15
code_profiler_glob()
S
60 5 13
CodeProfiler_Stream::stream_read()
S
52 4 25
code_profiler_get_themes()
S
55 4 21
CodeProfiler_Report::save_composer()
S
60 4 13
CodeProfiler_Report::convert_2_seconds()
S
62 4 11
code_profiler_i18n_constants()
S
48 2 35
CodeProfiler_Report::save_iostats()
S
54 3 20
CodeProfiler_Table_Profiles::prepare_items()
S
54 3 20
CP_Troubleshooter::function_exists()
S
55 3 19
code_profiler_verify_key()
S
57 3 17
CP_Troubleshooter::cp_info()
S
57 3 16
CP_Troubleshooter::get_cp_config()
S
58 3 16
code_profiler_main_menu()
S
58 3 16
CodeProfiler_Table_Profiles::usort_reorder()
S
67 4 6
CodeProfiler_Stream::check_exclusions()
S
67 4 8
CodeProfiler_Table_Profiles::cmp_num_or_string()
S
67 4 7
CP_Troubleshooter::test_admin_ajax()
S
57 3 15
code_profiler_deactivate()
S
65 4 8
CP_Troubleshooter::check_proxy()
S
61 3 13
CP_Troubleshooter::check_wpdb()
S
62 3 11
code_profiler_curl_timeout()
S
68 3 7
code_profiler_wp_send_json()
S
70 3 6
code_profiler_cleantmpfiles()
S
67 3 8
CP_Troubleshooter::check_cache()
S
69 3 6
code_profiler_clearlog()
S
73 3 5
code_profiler_hide_admin_notices()
S
68 3 7
code_profiler_write2log()
S
61 2 14
CodeProfiler_CLI::find_last_profile()
S
61 2 13
CodeProfiler_Stream::url_stat()
S
61 2 13
code_profiler_admin_menu()
S
62 2 13
CodeProfiler_CLI::read_profile()
S
61 2 12
CodeProfiler_Stream::unlink()
S
63 2 11
CodeProfiler_Stream::dir_opendir()
S
63 2 11
CodeProfiler_Stream::rename()
S
63 2 11
CodeProfiler_Stream::mkdir()
S
62 2 11
CodeProfiler_Stream::rmdir()
S
63 2 11
code_profiler_default_options()
S
56 1 19
CodeProfiler_Report::prepare_report()
S
56 1 18
CP_Troubleshooter::is_multisite()
S
66 2 8
code_profiler_hide()
S
75 2 5
CodeProfiler_CLI::is_enabled()
S
66 2 8
CodeProfiler_Stream::stream_lock()
S
68 2 7
CodeProfiler_Profiler::pre_http_request()
S
65 2 9
CodeProfiler_Profiler::time()
S
69 2 7
CodeProfiler_Stream::stream_stat()
S
65 2 9
CodeProfiler_CLI::help()
S
58 1 15
CodeProfiler_Stream::stream_tell()
S
67 2 8
CP_Troubleshooter::__construct()
S
59 1 14
code_profiler_admin_footer()
S
64 1 12
CodeProfiler_Table_Profiles::get_columns()
S
61 1 12
CodeProfiler_Table_Profiles::get_sortable_columns()
S
64 1 11
code_profiler_settings_link()
S
66 1 8
CodeProfiler_Table_Profiles::column_cb()
S
72 1 6
CodeProfiler_Stream::start()
S
76 1 4
CodeProfiler_Stream::dir_closedir()
S
75 1 4
code_profiler_menu_support()
S
75 1 5
CodeProfiler_Stream::stream_flush()
S
75 1 4
code_profiler_menu_about()
S
75 1 5
code_profiler_log_warn()
S
80 1 3
CodeProfiler_Report::return_error()
S
71 1 6
CodeProfiler_Table_Profiles::get_bulk_actions()
S
74 1 5
CodeProfiler_Stream::dir_rewinddir()
S
75 1 4
CodeProfiler_Profiler::http_api_debug()
S
79 1 3
code_profiler_menu_settings()
S
75 1 5
code_profiler_ASCII_filter()
S
79 1 3
CodeProfiler_Stream::stream_truncate()
S
75 1 4
code_profiler_menu_profiler()
S
75 1 5
CodeProfiler_Stream::stream_cast()
S
76 1 4
code_profiler_profile_name()
S
78 1 3
code_profiler_log_info()
S
80 1 3
CP_Troubleshooter::shorten_path()
S
79 1 3
CodeProfiler_Stream::stream_write()
S
70 1 6
CodeProfiler_Table_Profiles::no_items()
S
76 1 4
code_profiler_menu_faq()
S
75 1 5
CodeProfiler_Stream::stream_eof()
S
75 1 4
CodeProfiler_Stream::stream_close()
S
75 1 4
code_profiler_log_error()
S
80 1 3
CodeProfiler_Stream::stream_seek()
S
74 1 4
code_profiler_menu_log()
S
75 1 5
code_profiler_hide_errors()
S
80 1 3
code_profiler_menu_profiles_list()
S
75 1 5
CodeProfiler_Report::save_diskio()
S
71 1 6
CodeProfiler_Stream::dir_readdir()
S
75 1 4
CodeProfiler_Table_Profiles::__construct()
S
66 1 8
code_profiler_log_debug()
S
80 1 3
CodeProfiler_Stream::stop()
S
80 1 3
code_profiler_menu_pro()
S
75 1 5