Code Analysis: Performance Lab 1.1.0

Function Rating Maintainability Complexity Lines of code
webp_uploads_create_sources_property()
C
33 28 94
webp_uploads_update_image_onchange()
C
33 25 98
webp_uploads_remove_sources_files()
B
40 24 59
webp_uploads_img_tag_update_mime_type()
B
38 21 73
webp_uploads_generate_additional_image_source()
B
39 20 57
perflab_get_modules()
B
41 16 59
webp_uploads_update_sources()
A
44 15 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_backup_sources()
S
50 7 29
webp_uploads_update_rest_attachment()
S
53 7 21
webp_uploads_get_next_full_size_key_from_backup()
S
55 7 19
perflab_get_module_data()
S
49 6 31
perflab_aea_enqueued_css_assets_test()
S
42 4 60
perflab_aea_enqueued_js_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_update_attachment_metadata()
S
58 5 15
webp_uploads_wp_get_missing_image_subsizes()
S
60 5 13
perflab_render_modules_page_field()
S
50 3 31
perflab_load_active_modules()
S
61 4 13
webp_uploads_backup_full_image_sources()
S
60 4 13
perflab_aea_get_path_from_resource_url()
S
60 4 13
webp_uploads_restore_image()
S
62 4 11
perflab_aao_autoloaded_options_test()
S
46 2 40
perflab_sanitize_modules_setting()
S
58 3 19
perflab_add_modules_page()
S
57 3 17
webp_uploads_get_attachment_sources()
S
64 4 10
perflab_aea_clean_aea_audit_action()
S
67 4 7
perflab_admin_pointer()
S
60 3 13
perflab_aea_get_total_size_bytes_enqueued_styles()
S
63 3 11
perflab_aea_get_total_size_bytes_enqueued_scripts()
S
63 3 11
webp_uploads_check_webp_supported_test()
S
52 2 26
perflab_render_pointer()
S
49 1 39
perflab_get_modules_setting_default()
S
59 2 15
perflab_get_active_modules()
S
63 2 12
perflab_get_focus_areas()
S
58 1 19
perflab_aea_get_total_enqueued_scripts()
S
68 2 8
perflab_aea_get_resource_file_size()
S
79 2 3
perflab_aea_get_total_enqueued_styles()
S
68 2 8
perflab_render_modules_page()
S
63 1 15
perflab_oc_health_add_tests()
S
65 2 9
perflab_oc_health_available_object_cache_services()
S
60 1 14
perflab_register_modules_setting()
S
65 1 11
perflab_aea_add_enqueued_assets_test()
S
63 1 11
perflab_get_generator_content()
S
68 1 8
webp_uploads_update_featured_image()
S
79 1 3
webp_uploads_add_is_webp_supported_test()
S
68 1 7
perflab_get_module_settings()
S
79 1 3
perflab_render_generator()
S
75 1 4
perflab_aea_invalidate_cache_transients()
S
78 1 4
perflab_aao_add_autoloaded_options_test()
S
68 1 7
perflab_aao_autoloaded_options_size()
S
75 1 4
perflab_plugin_action_links_add_settings()
S
65 1 9