Code Analysis: Performance Lab 3.7.0

Function Rating Maintainability Complexity Lines of code
perflab_render_plugin_card()
C
27
24 164
perflab_query_plugin_info()
B
34 17 100
perflab_install_and_activate_plugin()
B
38 16 68
perflab_render_plugins_ui()
B
32 11 131
perflab_aea_audit_enqueued_styles()
A
47 15 31
perflab_maybe_set_object_cache_dropin()
A
46 14 37
perflab_aea_audit_enqueued_scripts()
A
49 13 27
perflab_get_plugin_availability()
A
45 12 41
perflab_aao_handle_update_autoload()
A
47 11 33
Perflab_Server_Timing::register_metric()
A
45 10 47
perflab_register_additional_server_timing_metrics_from_setting()
A
43 9 55
perflab_register_default_server_timing_template_metrics()
A
41 7 66
perflab_plugin_admin_notices()
A
43 8 51
perflab_get_plugin_settings_url()
A
51 9 25
perflab_register_default_server_timing_before_template_metrics()
A
44 7 53
perflab_aao_get_disabled_autoloaded_options_table()
A
44 7 47
perflab_load_server_timing_api_from_dropin()
A
55 8 20
perflab_admin_pointer()
A
53 8 20
perflab_aea_enqueued_js_assets_test()
S
42 5 60
perflab_aea_enqueued_css_assets_test()
S
42 5 60
perflab_maybe_remove_object_cache_dropin()
S
55 7 19
perflab_load_server_timing_page()
S
40 2 86
Perflab_Server_Timing_Metric::set_value()
S
54 6 22
perflab_get_asset_path()
S
54 6 21
perflab_handle_feature_activation()
S
50 5 30
perflab_install_activate_plugin_callback()
S
50 5 28
perflab_aea_get_total_size_bytes_enqueued_scripts()
S
60 6 13
perflab_aea_get_total_size_bytes_enqueued_styles()
S
60 6 13
perflab_render_server_timing_page_output_buffering_section()
S
45 3 53
perflab_sanitize_server_timing_setting()
S
50 4 32
perflab_register_endpoint()
S
46 3 46
perflab_render_pointer()
S
46 3 44
perflab_rest_post_dispatch_add_server_timing()
S
61 5 12
perflab_get_generator_content()
S
60 4 13
perflab_aea_get_path_from_resource_url()
S
60 4 13
perflab_aao_admin_notices()
S
60 4 13
perflab_no_access_redirect_module_to_performance_feature_page()
S
62 4 12
perflab_server_timing()
S
63 4 11
perflab_aao_autoloaded_options_size()
S
63 4 11
perflab_aao_autoloaded_options_test()
S
47 2 39
perflab_wrap_server_timing()
S
55 3 23
perflab_aao_query_autoloaded_options()
S
55 3 20
avif_headers_check_avif_headers_test()
S
50 2 32
Perflab_Server_Timing::send_header()
S
58 3 16
perflab_aea_clean_aea_audit_action()
S
67 4 7
avif_headers_is_enabled()
S
60 3 13
perflab_aao_get_autoloaded_options_table()
S
51 2 27
webp_uploads_check_webp_supported_test()
S
52 2 26
avif_uploads_check_avif_supported_test()
S
52 2 26
Perflab_Server_Timing::format_metric_header_value()
S
62 3 11
perflab_print_features_page_style()
S
100 1 37
perflab_render_server_timing_page_hooks_field()
S
54 2 22
Perflab_Server_Timing::get_header()
S
58 2 17
perflab_get_standalone_plugin_data()
S
52 1 32
perflab_dismiss_wp_pointer_wrapper()
S
70 3 6
perflab_plugin_action_links_add_settings()
S
60 2 14
perflab_add_features_page()
S
60 2 13
perflab_print_row_meta_install_notice()
S
60 2 13
perflab_add_server_timing_page()
S
62 2 12
Perflab_Server_Timing_Metric::measure_after()
S
62 2 11
perflab_render_server_timing_page()
S
62 1 16
perflab_aao_add_autoloaded_options_test()
S
64 2 10
Perflab_Server_Timing::add_hooks()
S
68 2 7
perflab_aao_get_autoload_values_to_autoload()
S
72 2 6
perflab_cleanup_option()
S
75 2 5
perflab_aea_get_total_enqueued_styles()
S
68 2 8
perflab_aea_get_total_enqueued_scripts()
S
68 2 8
Perflab_Server_Timing::has_registered_metric()
S
78 2 3
Perflab_Server_Timing::start_output_buffer()
S
65 2 10
perflab_sanitize_plugin_slug()
S
69 2 7
perflab_enqueue_features_page_scripts()
S
62 1 12
perflab_aea_add_enqueued_assets_test()
S
63 1 11
perflab_register_server_timing_setting()
S
65 1 11
Perflab_Server_Timing_Metric::__construct()
S
81 1 3
perflab_get_standalone_plugin_version_constants()
S
80 1 3
avif_uploads_add_is_avif_supported_test()
S
68 1 7
perflab_server_timing_init()
S
83 1 3
perflab_server_timing_use_output_buffer()
S
82 1 3
perflab_aea_invalidate_cache_transients()
S
78 1 4
Perflab_Server_Timing::use_output_buffer()
S
71 1 5
perflab_aao_extend_core_check()
S
79 1 3
perflab_get_standalone_plugins()
S
76 1 5
Perflab_Server_Timing::on_template_include()
S
77 1 4
webp_uploads_add_is_webp_supported_test()
S
68 1 7
avif_headers_add_is_avif_headers_enabled_test()
S
68 1 7
perflab_handle_get_feature_information()
S
66 1 9
Perflab_Server_Timing_Metric::get_value()
S
82 1 3
perflab_get_server_timing_setting_default_value()
S
70 1 7
perflab_load_features_page()
S
73 1 5
perflab_server_timing_register_metric()
S
80 1 3
Perflab_Server_Timing_Metric::get_slug()
S
82 1 3
perflab_validate_slug_endpoint_arg()
S
70 1 6
perflab_aao_register_admin_actions()
S
80 1 3
perflab_render_settings_page()
S
75 1 7
perflab_filter_option_perflab_aao_disabled_options()
S
65 1 9
Perflab_Server_Timing_Metric::measure_before()
S
80 1 3
perflab_render_generator()
S
75 1 4