Code Analysis: WordPress Hosting Benchmark tool 1.3.2

Function Rating Maintainability Complexity Lines of code
wp_benchmark_io::admin_menu_options()
D
10
39 773
wpbenchmarkio::calculate_finals()
D
29
31 122
wpbenchmarkio::run_next()
B
38 17 67
wpbenchmarkio::test_db_insert()
A
40 10 62
wpbenchmarkio::test_cpu_memory()
A
50 10 31
wpbenchmarkio::test_cpu_regex()
A
47 9 37
wpbenchmarkio::random_file_from_tmp()
A
54 8 20
wpbenchmarkio::test_db_joins()
S
47 7 30
wpbenchmarkio::test_db_simple()
S
48 7 29
wpbenchmarkio::test_oc_persistent_mixed()
S
50 7 26
wpbenchmarkio::fill_object_cache()
S
52 7 25
wpbenchmarkio::get_initial_steps()
S
52 7 24
wpbenchmarkio::clean_tmp_folder()
S
57 7 16
wpbenchmarkio::test_oc_persistent_read()
S
53 6 21
wpbenchmarkio::test_cpu_rand()
S
58 6 18
wpbenchmarkio::test_filecopy()
S
52 5 24
wpbenchmarkio::test_filewrite()
S
54 5 21
wpbenchmarkio::test_memory_array()
S
57 5 17
wpbenchmarkio::get_test_progress()
S
57 5 16
wpbenchmarkio::test_network_download()
S
57 4 17
wpbenchmarkio::test_cpu_randbytes()
S
58 4 15
wpbenchmarkio::request_new()
S
52 3 25
wpbenchmarkio::test_filewrite_smallfiles()
S
57 3 16
wpbenchmarkio::create_db_test_tables()
S
48 1 42
wpbenchmarkio::get_use_data()
S
53 1 36
wpbenchmarkio::make_tmp_folder()
S
68 3 7
wpbenchmarkio::talk()
S
63 3 10
wpbenchmarkio::test_oc_persistent_write()
S
64 2 12
wpbenchmarkio::get_function_defs()
S
50 1 24
wpbenchmarkio::random_string()
S
64 2 9
wpbenchmarkio::clean_db_test_tables()
S
67 2 8
wpbenchmarkio::test_cpu_md5()
S
70 2 6
wpbenchmarkio::must_have_persistent_cache()
S
64 2 10
wpbenchmarkio::test_has_persistent_oc()
S
67 2 8
wp_benchmark_io::plugin_activation()
S
63 1 11
wpbenchmarkio::local_add_test_variable()
S
75 1 4
wpbenchmarkio::reset_and_prepare_object_cache()
S
79 1 4
wpbenchmarkio::get_1kb_text()
S
82 1 3
wpbenchmarkio::__construct()
S
100 1 1
wpbenchmarkio::init_dbtable_names()
S
77 1 4
wp_benchmark_io::add_admin_menu()
S
78 1 3
wp_benchmark_io::admin_init()
S
74 1 4
wp_benchmark_io::custom_add_google_fonts()
S
80 1 3
wpbenchmarkio::local_wp_cache_flush()
S
78 1 4
wpbenchmarkio::get_db_table_names()
S
67 1 8
wpbenchmarkio::insert_into_db_testlog()
S
64 1 10
wp_benchmark_io::add_action_links()
S
70 1 6
wp_benchmark_io::plugin_deactivation()
S
95 1 1
wpbenchmarkio::tmp_folder_name()
S
80 1 3
wp_benchmark_io::__construct()
S
100 1 2