Code Analysis: Code Profiler 1.5.2

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