Code Analysis: WordPress Hosting Benchmark tool 1.6.1

Function Rating Maintainability Complexity Lines of code
wp_benchmark_io::admin_menu_options()
D
3
57 1,018
wpbenchmarkio::calculate_finals()
D
26
34 146
wp_benchmark_io::execute_plugin()
C
31 30 101
wpbenchmarkio::test_wordpress_capability_checks()
B
36 16 87
wpbenchmarkio::run_next()
B
38 17 67
wpbenchmarkio::test_db_insert()
A
40 10 62
wp_benchmark_io::get_timed_key()
A
56 13 16
wpbenchmarkio::test_cpu_regex()
A
45 11 40
wpbenchmarkio::test_oc_persistent_mixed()
A
44 10 44
wpbenchmarkio::test_cpu_memory()
A
50 10 31
wpbenchmarkio::test_oc_persistent_read()
A
49 9 29
wp_benchmark_io::schedulled_event()
A
47 8 35
wpbenchmarkio::test_wordpress_taxonomy_processing()
A
45 7 45
wpbenchmarkio::random_file_from_tmp()
A
54 8 20
wpbenchmarkio::test_db_joins()
S
47 7 30
wpbenchmarkio::test_wordpress_template_processing()
S
40 5 60
wpbenchmarkio::test_db_simple()
S
48 7 29
wpbenchmarkio::get_initial_steps()
S
52 7 24
wpbenchmarkio::clean_tmp_folder()
S
57 7 16
wpbenchmarkio::test_filewrite()
S
51 6 26
wpbenchmarkio::test_wordpress_json_processing()
S
39 3 66
wpbenchmarkio::test_cpu_rand()
S
58 6 18
wpbenchmarkio::test_filecopy()
S
52 5 24
wpbenchmarkio::test_filewrite_old()
S
53 5 22
wpbenchmarkio::test_memory_array()
S
57 5 17
wpbenchmarkio::fill_object_cache()
S
56 5 17
wpbenchmarkio::get_test_progress()
S
57 5 16
wpbenchmarkio::test_filewrite_smallfiles()
S
55 4 19
wpbenchmarkio::test_network_download()
S
57 4 17
wpbenchmarkio::test_cpu_randbytes()
S
58 4 15
wpbenchmarkio::local_wp_cache_flush()
S
60 4 14
wpbenchmarkio::test_wordpress_shortcode_processing()
S
50 3 29
wpbenchmarkio::request_new()
S
52 3 25
wpbenchmarkio::test_wordpress_regex_wordpress()
S
52 3 23
wpbenchmarkio::test_wordpress_option_operations()
S
52 3 23
wpbenchmarkio::test_wordpress_transient_operations()
S
53 3 21
wpbenchmarkio::test_filewrite_smallfiles_old()
S
57 3 16
wpbenchmarkio::test_wordpress_hooks_system()
S
60 3 13
wpbenchmarkio::create_db_test_tables()
S
48 1 42
wpbenchmarkio::test_wordpress_content_filtering()
S
53 2 22
wpbenchmarkio::get_function_defs()
S
44 1 36
wpbenchmarkio::test_cpu_floating_operations()
S
64 3 9
wpbenchmarkio::make_tmp_folder()
S
68 3 7
wpbenchmarkio::talk()
S
63 3 10
wp_benchmark_io::admin_init()
S
61 2 11
wpbenchmarkio::get_use_data()
S
55 1 21
wpbenchmarkio::wpbenchmark_fibonacci_recursive()
S
69 2 7
wpbenchmarkio::test_cpu_string_operations()
S
65 2 9
wpbenchmarkio::random_string()
S
64 2 9
wpbenchmarkio::test_cpu_md5()
S
70 2 6
wp_benchmark_io::ask_for_pingback()
S
64 2 10
wpbenchmarkio::test_has_persistent_oc()
S
67 2 8
wpbenchmarkio::test_fibo_iterative()
S
70 2 6
wpbenchmarkio::wpbenchmark_fibonacci_iterative()
S
65 2 9
wpbenchmarkio::clean_db_test_tables()
S
67 2 8
wpbenchmarkio::must_have_persistent_cache()
S
64 2 10
wpbenchmarkio::test_oc_persistent_write()
S
69 2 8
wp_benchmark_io::plugin_activation()
S
62 1 12
wp_benchmark_io::plugin_deactivation()
S
69 1 7
wpbenchmarkio::run_cpu_background_test()
S
72 1 5
wp_benchmark_io::custom_add_google_fonts()
S
80 1 3
wpbenchmarkio::reset_and_prepare_object_cache()
S
79 1 4
wpbenchmarkio::get_1kb_text()
S
82 1 3
wp_benchmark_io::add_action_links()
S
70 1 6
wpbenchmarkio::test_function_output()
S
83 1 3
wpbenchmarkio::get_db_table_names()
S
67 1 8
wp_benchmark_io::enqueue_styles_scripts()
S
79 1 3
wp_benchmark_io::__construct()
S
100 1 2
wpbenchmarkio::insert_into_db_testlog()
S
64 1 10
wpbenchmarkio::local_add_test_variable()
S
75 1 4
wpbenchmarkio::init_dbtable_names()
S
77 1 4
wpbenchmarkio::test_fibo_recursive()
S
77 1 4
wpbenchmarkio::__construct()
S
100 1 1
wpbenchmarkio::tmp_folder_name()
S
75 1 4
wp_benchmark_io::add_admin_menu()
S
78 1 3