Code Analysis: Performance Lab 1.0.0-beta.2

Function Rating Maintainability Complexity Lines of code
webp_uploads_create_sources_property()
C
33 28 94
webp_uploads_remove_sources_files()
B
40 24 59
webp_uploads_img_tag_update_mime_type()
B
41 17 56
perflab_get_modules()
B
41 16 59
webp_uploads_generate_additional_image_source()
A
43 16 43
perflab_aea_audit_enqueued_styles()
A
47 15 31
perflab_aea_audit_enqueued_scripts()
A
49 13 27
perflab_load_modules_page()
A
47 9 39
webp_uploads_generate_image_size()
A
50 9 30
perflab_oc_health_should_suggest_persistent_object_cache()
A
43 7 53
webp_uploads_update_image_references()
A
51 8 27
webp_uploads_update_rest_attachment()
S
53 7 21
perflab_get_module_data()
S
49 6 31
perflab_aea_enqueued_js_assets_test()
S
42 4 60
perflab_aea_enqueued_css_assets_test()
S
42 4 60
perflab_oc_health_persistent_object_cache()
S
42 4 57
webp_uploads_filter_image_editor_output_format()
S
58 5 16
webp_uploads_get_upload_image_mime_transforms()
S
58 5 16
webp_uploads_wp_get_missing_image_subsizes()
S
60 5 13
perflab_render_modules_page_field()
S
50 3 31
perflab_aea_get_path_from_resource_url()
S
60 4 13
perflab_load_active_modules()
S
61 4 13
perflab_aao_autoloaded_options_test()
S
47 2 38
perflab_sanitize_modules_setting()
S
58 3 19
perflab_add_modules_page()
S
57 3 17
perflab_aea_clean_aea_audit_action()
S
67 4 7
perflab_admin_pointer()
S
60 3 13
perflab_aea_get_total_size_bytes_enqueued_scripts()
S
63 3 11
webp_uploads_check_webp_supported_test()
S
52 2 26
perflab_aea_get_total_size_bytes_enqueued_styles()
S
63 3 11
perflab_render_pointer()
S
49 1 39
perflab_get_active_modules()
S
63 2 12
perflab_register_modules_setting()
S
56 1 20
perflab_get_focus_areas()
S
58 1 19
perflab_aea_get_resource_file_size()
S
79 2 3
perflab_aea_get_total_enqueued_styles()
S
68 2 8
perflab_oc_health_add_tests()
S
65 2 9
perflab_render_modules_page()
S
63 1 15
perflab_aea_get_total_enqueued_scripts()
S
68 2 8
perflab_oc_health_available_object_cache_services()
S
60 1 14
perflab_aea_add_enqueued_assets_test()
S
63 1 11
perflab_aao_add_autoloaded_options_test()
S
68 1 7
perflab_plugin_action_links_add_settings()
S
65 1 9
perflab_get_module_settings()
S
80 1 3
perflab_aea_invalidate_cache_transients()
S
78 1 4
perflab_aao_autoloaded_options_size()
S
75 1 4
webp_uploads_add_is_webp_supported_test()
S
68 1 7