Code Analysis: Code Profiler 1.4.4

Function Rating Maintainability Complexity Lines of code
codeprofiler_start_profiler()
D
19
45 223
CodeProfiler_Report::parse_ticks()
C
35 30 84
CodeProfiler_Table_Profiles::fetch_profiles()
B
38 22 67
code_profiler_save_settings()
B
40 18 60
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
37 7 85
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_check_plugin_info()
A
48 8 31
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
CodeProfiler_Profiler::code_profiler_tick_handler()
A
48 7 33
code_profiler_check_update()
A
44 6 46
code_profiler_activate()
S
51 7 28
CodeProfiler_Report::plugin_or_theme()
S
55 6 19
code_profiler_init_update()
S
57 6 17
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
code_profiler_get_profile_data()
S
50 4 31
CodeProfiler_Table_Profiles::delete_profiles()
S
58 5 16
CodeProfiler_Report::__construct()
S
49 4 30
CP_Troubleshooter::get_all_plugins()
S
57 5 15
CodeProfiler_Stream::stream_set_option()
S
58 5 15
code_profiler_verify_key()
S
55 4 21
code_profiler_cleantmpfiles()
S
58 4 16
CodeProfiler_Stream::stream_open()
S
58 4 14
CodeProfiler_Profiler::__construct()
S
53 3 23
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::cmp_num_or_string()
S
67 4 7
code_profiler_deactivate()
S
65 4 8
CodeProfiler_Table_Profiles::usort_reorder()
S
67 4 6
CodeProfiler_Stream::stream_read()
S
59 3 14
CP_Troubleshooter::get_cp_config()
S
61 3 12
CP_Troubleshooter::get_theme()
S
62 3 11
CP_Troubleshooter::check_wpdb()
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_CLI::find_last_profile()
S
61 2 13
code_profiler_admin_menu()
S
62 2 13
CodeProfiler_Stream::url_stat()
S
61 2 13
CodeProfiler_CLI::read_profile()
S
61 2 12
CP_Troubleshooter::function_exists()
S
62 2 12
CodeProfiler_Stream::rmdir()
S
63 2 11
CodeProfiler_Stream::mkdir()
S
62 2 11
CodeProfiler_Stream::dir_opendir()
S
63 2 11
CodeProfiler_Stream::unlink()
S
63 2 11
CodeProfiler_Stream::rename()
S
63 2 11
code_profiler_default_options()
S
58 1 16
CP_Troubleshooter::check_cache()
S
77 2 3
CodeProfiler_CLI::is_enabled()
S
66 2 8
CodeProfiler_Stream::stream_tell()
S
67 2 8
CodeProfiler_Stream::stream_stat()
S
65 2 9
CodeProfiler_Stream::stream_lock()
S
68 2 7
CodeProfiler_CLI::help()
S
58 1 15
CodeProfiler_Report::prepare_report()
S
60 1 14
CodeProfiler_Table_Profiles::get_columns()
S
61 1 12
CodeProfiler_Table_Profiles::get_sortable_columns()
S
64 1 11
code_profiler_log_info()
S
91 1 1
CP_Troubleshooter::shorten_path()
S
79 1 3
CodeProfiler_Table_Profiles::__construct()
S
66 1 8
CodeProfiler_Table_Profiles::no_items()
S
80 1 3
CodeProfiler_Stream::dir_rewinddir()
S
75 1 4
code_profiler_settings_link()
S
67 1 7
code_profiler_write2log()
S
77 1 3
CodeProfiler_Stream::stream_truncate()
S
75 1 4
code_profiler_menu_log()
S
75 1 5
CodeProfiler_Stream::stop()
S
80 1 3
code_profiler_menu_profiles_list()
S
75 1 5
code_profiler_menu_profiler()
S
75 1 5
code_profiler_menu_faq()
S
75 1 5
CodeProfiler_Stream::stream_seek()
S
74 1 4
code_profiler_menu_pro()
S
75 1 5
CodeProfiler_Stream::dir_readdir()
S
75 1 4
CodeProfiler_Table_Profiles::get_bulk_actions()
S
75 1 5
CP_Troubleshooter::__construct()
S
63 1 10
CodeProfiler_Stream::dir_closedir()
S
75 1 4
CodeProfiler_Stream::stream_close()
S
75 1 4
CodeProfiler_Stream::stream_flush()
S
75 1 4
code_profiler_log_warn()
S
91 1 1
CodeProfiler_Stream::start()
S
76 1 4
code_profiler_menu_about()
S
75 1 5
CodeProfiler_Stream::stream_write()
S
70 1 6
CodeProfiler_Report::save_diskio()
S
71 1 6
code_profiler_menu_support()
S
75 1 5
CodeProfiler_Stream::stream_eof()
S
75 1 4
code_profiler_log_error()
S
91 1 1
CodeProfiler_Stream::stream_cast()
S
76 1 4
code_profiler_buffer_error()
S
83 1 3
code_profiler_menu_settings()
S
75 1 5
CodeProfiler_Report::return_error()
S
71 1 6
code_profiler_profile_name()
S
78 1 3
CodeProfiler_Table_Profiles::column_cb()
S
72 1 6