Code Analysis: P3 (Plugin Performance Profiler) 1.5.4

Function Rating Maintainability Complexity Lines of code
P3_Profiler::tick_handler()
D
29 37 107
P3_Profiler::__construct()
B
33 21 90
P3_Profiler::shutdown_handler()
B
33 20 93
P3_Profiler_Plugin_Admin::upgrade()
A
42 14 50
P3_Profiler_Plugin_Admin::init()
A
51 10 26
P3_Profiler::_get_plugin_name()
A
44 8 48
P3_Profiler_Reader::_parse()
A
43 8 46
P3_Profiler_Plugin_Admin::list_of_pages()
A
47 8 33
P3_Profiler_Plugin_Admin::download_debug_log()
A
45 7 42
P3_Profiler::_is_a_plugin_file()
A
52 8 24
P3_Profiler_Table::do_bulk_action()
A
54 8 18
P3_Profiler_Plugin_Admin::ajax_send_results()
A
48 7 31
P3_Profiler_Plugin_Admin::dispatcher()
S
49 7 30
FileStreamWrapper::stream_open()
S
49 7 29
p3_profiler_autoload()
S
55 7 22
P3_Profiler_Plugin::activate()
S
56 7 17
P3_Profiler_Plugin_Admin::ajax_start_scan()
S
50 6 27
P3_Profiler_Reader::get_plugin_name()
S
55 6 19
P3_Profiler_Plugin_Admin::get_latest_profile()
S
55 6 18
P3_Profiler_Reader::_get_theme_name()
S
60 6 12
P3_Profiler_Reader::__construct()
S
54 5 21
P3_Profiler_Plugin_Admin::ajax_save_settings()
S
54 5 19
p3_profiler_disable()
S
57 5 16
P3_Profiler_Plugin_Admin::ajax_stop_scan()
S
57 5 15
P3_Profiler_Plugin_Admin::show_notices()
S
59 5 13
p3_profiler_uninstall_delete_profiles_folder()
S
61 5 12
P3_Profiler_Plugin_Admin::delete_profiles_folder()
S
60 5 12
P3_Profiler_Table::column_default()
S
63 5 12
P3_Profiler_Reader::get_stats_by_url()
S
53 4 23
FileStreamWrapper::stream_set_option()
S
58 4 16
P3_Profiler_Table::_sort()
S
59 4 15
p3_profiler_get_ip()
S
60 4 15
P3_Profiler_Plugin_Admin::remove_admin_bar()
S
59 4 14
P3_Profiler_Table::prepare_items()
S
52 3 23
p3_plugin_disclaimers()
S
57 3 18
FileStreamWrapper::url_stat()
S
65 4 9
P3_Profiler::_write_debug_log()
S
59 3 14
P3_Profiler_Plugin::deactivate()
S
60 3 13
P3_Profiler_Table::_get_profiles()
S
52 2 23
P3_Profiler_Reader::_get_averages()
S
54 2 20
FileStreamWrapper::stream_read()
S
63 3 10
P3_Profiler_Reader::get_raw_plugin_list()
S
65 3 9
P3_Profiler_Plugin_Admin::make_profiles_folder()
S
64 3 9
FileStreamWrapper::stream_tell()
S
67 3 8
P3_Profiler_Plugin_Admin::readable_size()
S
58 2 14
P3_Profiler_Plugin_Admin::add_notice()
S
63 2 11
P3_Profiler_Table::_action_links()
S
53 1 22
P3_Profiler_Plugin_Admin::load_styles()
S
64 2 9
P3_Profiler::_get_url()
S
66 2 8
P3_Profiler_Plugin_Admin::_fix_url()
S
67 2 7
P3_Profiler_Table_Sorter::sort()
S
74 2 4
P3_Profiler_Table_Sorter::_compare()
S
68 2 7
P3_Profiler_Plugin_Admin::ajax_die()
S
67 2 8
FileStreamWrapper::stream_stat()
S
64 2 10
FileStreamWrapper::restore()
S
70 2 6
FileStreamWrapper::init()
S
68 2 7
P3_Profiler_Plugin_Admin::scan_enabled()
S
68 2 7
P3_Profiler_Plugin::add_settings_link()
S
68 2 6
P3_Profiler_Plugin_Admin::clear_debug_log()
S
67 2 7
P3_Profiler_Plugin_Admin::load_scripts()
S
62 1 11
P3_Profiler_Table::column_title()
S
62 1 11
P3_Profiler_Table::_filter_json_files()
S
78 1 3
P3_Profiler_Table_Sorter::__construct()
S
77 1 4
P3_Profiler_Plugin_Admin::delete_blog()
S
66 1 8
P3_Profiler_Table::get_sortable_columns()
S
66 1 9
FileStreamWrapper::dir_rewinddir()
S
75 1 5
P3_Profiler_Plugin::tools_menu()
S
66 1 9
P3_Profiler_Plugin_Admin::set_path()
S
77 1 4
FileStreamWrapper::stream_flush()
S
75 1 5
FileStreamWrapper::stream_write()
S
74 1 5
FileStreamWrapper::rename()
S
74 1 5
FileStreamWrapper::dir_readdir()
S
75 1 5
P3_Profiler_Table::get_bulk_actions()
S
75 1 4
FileStreamWrapper::doWrapper()
S
72 1 6
FileStreamWrapper::rmdir()
S
74 1 5
P3_Profiler_Table::column_cb()
S
69 1 7
FileStreamWrapper::dir_opendir()
S
74 1 5
FileStreamWrapper::dir_closedir()
S
75 1 5
P3_Profiler_Table::get_columns()
S
64 1 10
P3_Profiler_Reader::_format_name()
S
78 1 3
FileStreamWrapper::stream_seek()
S
73 1 5
P3_Profiler_Table::__construct()
S
67 1 8
FileStreamWrapper::stream_eof()
S
74 1 5
FileStreamWrapper::unlink()
S
75 1 5
FileStreamWrapper::mkdir()
S
73 1 5