Code Analysis: Perfect Images (Optimize, Rebuild, Replace, Thumbnails, Retina) 6.5.3

Function Rating Maintainability Complexity Lines of code
Meow_WR2X_Core::picture_rewrite()
C
30 23 123
Meow_WR2X_Core::webp_retina_info()
C
35 26 77
Meow_WR2X_Core::retina_info()
C
36 25 70
Meow_WR2X_Core::webp_info()
C
38 24 64
Meow_WR2X_Core::html_get_details_retina_info()
B
32 21 99
Meow_WR2X_Engine::generate_retina_images()
B
35 20 82
Meow_WR2X_Engine::generate_webp_retina_images()
B
35 20 79
Meow_WR2X_Rest::rest_check_optimizers()
B
37 20 70
Meow_WR2X_Core::get_image_sizes()
B
35 18 92
Meow_WR2X_Engine::generate_webp_images()
B
36 19 77
Meow_WR2X_Rest::rest_replace()
B
39 18 60
Meow_WR2X_Core::wp_enqueue_scripts()
B
46 19 35
Meow_WR2X_Core::init()
B
39 16 59
Meow_WR2X_Rest::rest_easy_io_link()
B
41 16 49
MeowCommon_Helpers::php_error_logs()
A
39 14 66
Meow_WR2X_Core::set_defaults()
A
46 13 36
Meow_WR2X_Core::replace_jpg_with_webp_in_srcset()
A
46 12 35
Meow_WR2X_Rest::get_media_status()
A
39 10 64
MeowCommon_Ratings::admin_notices_rating()
A
35 7 100
Meow_WR2X_Core::update_issue_status()
A
55 12 19
Meow_WR2X_Rest::regenerate_thumbnails_optimized()
A
48 11 30
MeowCommon_Helpers::is_rest()
A
49 11 29
MeowCommon_Admin::__construct()
A
47 10 32
Meow_WR2X_Core::html_get_basic_retina_info()
A
50 10 27
Meow_WR2X_Core::size_shortname()
A
51 9 28
Meow_WR2X_Core::get_all_options()
A
50 9 27
Meow_WR2X_Engine::resize()
A
41 7 53
Meow_WR2X_Optimize::optimize_image()
A
46 8 37
Meow_WR2X_Core::cdn_this()
A
46 8 37
Meow_WR2X_Engine::delete_retina_images()
A
47 8 34
Meow_WR2X_Engine::delete_webp_images()
A
48 8 34
Meow_WR2X_Rest::rest_easy_io_stats()
A
49 8 30
Meow_WR2X_Rest::rest_api_init()
A
34 2 119
MeowCommon_News::__construct()
A
51 8 26
Meow_WR2X_Engine::wp_generate_attachment_metadata()
A
58 8 18
Meow_WR2X_Core::calculate_image_srcset()
S
51 7 26
Meow_WR2X_Core::get_retina_from_remote_url()
S
54 7 20
Meow_WR2X_Rest::rest_update_option()
S
48 6 31
Meow_WR2X_Core::calculate_issues_by_search()
S
51 6 27
Meow_WR2X_Core::calculate_issues()
S
52 6 26
MeowCommon_News::admin_notices_news()
S
40 3 69
Meow_WR2X_Core::get_custom_image_size_changes()
S
47 5 39
Meow_WR2X_Engine::delete_webp_retina_images()
S
51 6 24
MeowCommon_Admin::custom_plugin_row_meta()
S
52 6 23
Meow_WR2X_Core::check_options()
S
53 6 23
Meow_WR2X_Core::get_webp_retina()
S
53 6 23
Meow_WR2X_Core::get_webp()
S
53 6 22
Meow_WR2X_Core::get_retina()
S
54 6 20
MeowCommon_Rest::rest_update_option()
S
54 6 19
Meow_WR2X_Core::html_get_basic_retina_info_full()
S
60 6 13
Meow_WR2X_Core::html_rewrite()
S
50 5 26
Meow_WR2X_Rest::rest_regenerate()
S
56 5 17
Meow_WR2X_Admin::admin_notices()
S
60 5 13
Meow_WR2X_Core::get_max_filesize()
S
60 5 13
Meow_WR2X_Core::get_active_image_sizes()
S
62 5 11
Meow_WR2X_Rest::check_upload()
S
55 4 20
Meow_WR2X_Rest::rest_media()
S
54 4 20
Meow_WR2X_Core::__construct()
S
56 4 19
Meow_WR2X_Optimize::optimize()
S
57 4 18
Meow_WR2X_Rest::rest_delete_retina()
S
56 4 17
MeowCommon_Rest::rest_api_init()
S
47 2 47
Meow_WR2X_Admin::enqueue_scripts()
S
48 3 32
Meow_WR2X_Rest::rest_delete_webp()
S
56 4 16
Meow_WR2X_Rest::get_filtered_post_ids()
S
60 4 16
Meow_WR2X_Core::log()
S
57 4 16
Meow_WR2X_Core::get_retina_from_url()
S
58 4 15
Meow_WR2X_Core::get_logs_path()
S
58 4 15
Meow_WR2X_Core::update_optimise_issue_status()
S
63 5 10
Meow_WR2X_Rest::rest_ignore()
S
59 4 14
Meow_WR2X_Core::register_custom_image_size()
S
59 4 14
Meow_WR2X_Core::get_issues()
S
63 4 11
Meow_WR2X_Core::get_ignores()
S
63 4 11
Meow_WR2X_Rest::rest_get_all_ids()
S
55 3 20
MeowCommon_Helpers::wp_kses()
S
47 1 47
Meow_WR2X_Rest::rest_build_retina()
S
57 3 16
Meow_WR2X_Rest::rest_build_webp()
S
57 3 16
MeowCommon_Ratings::__construct()
S
58 3 16
Meow_WR2X_Core::info_has_issues()
S
68 4 7
Meow_WR2X_Core::is_image_meta()
S
65 4 9
MeowCommon_Admin::admin_menu_start()
S
57 3 15
Meow_WR2X_Core::get_optimize_issues()
S
65 4 10
Meow_WR2X_Core::calculate_ignores_by_search()
S
58 3 14
Meow_WR2X_Admin::generate_rewrite_rules()
S
60 3 12
Meow_WR2X_Core::from_url_to_system()
S
63 3 11
Meow_WR2X_Core::get_pathinfo_from_image_src()
S
62 3 11
Meow_WR2X_Rest::rest_optimize()
S
61 3 11
MeowCommon_Admin::nice_name_from_file()
S
62 3 11
MeowCommon_Admin::get_phpinfo()
S
62 3 11
MeowCommon_Helpers::test_error()
S
63 3 11
MeowCommon_News::retrieve_news_date()
S
61 3 11
MeowCommon_Ratings::nice_name_from_file()
S
62 3 11
Meow_WR2X_Core::list_options()
S
47 1 39
MeowCommon_Admin::admin_notices_licensed_free()
S
55 2 20
Meow_WR2X_Core::get_media_status_one()
S
55 2 19
Meow_WR2X_Rest::rest_get_details()
S
63 3 9
Meow_WR2X_Rest::rest_get_webp_details()
S
63 3 9
Meow_WR2X_Core::add_issue()
S
64 3 10
Meow_WR2X_Core::get_attachment_id()
S
59 2 15
Meow_WR2X_Core::is_rest()
S
69 3 6
MeowCommon_Helpers::is_asynchronous_request()
S
79 3 3
Meow_WR2X_Core::add_optimize_issue()
S
64 3 10
Meow_WR2X_Core::add_replace_image_button()
S
59 2 15
Meow_WR2X_Engine::delete_retina_fullsize()
S
64 3 9
Meow_WR2X_Engine::delete_webp_fullsize()
S
64 3 9
Meow_WR2X_Core::postprocess_metadata()
S
66 3 8
Meow_WR2X_Core::sanitize_options()
S
60 2 12
Meow_WR2X_Rest::count_all()
S
63 2 11
Meow_WR2X_Core::create_sql_if_wpml_original()
S
63 2 11
Meow_WR2X_Core::calculate_optimize_issues()
S
56 1 20
Meow_WR2X_Core::calculate_optimize_issues_by_search()
S
57 1 19
Meow_WR2X_Core::validate_src()
S
74 2 5
Meow_WR2X_Core::increase_media_version()
S
69 2 6
Meow_WR2X_Core::add_metabox()
S
68 2 7
Meow_WR2X_Admin::__construct()
S
64 2 9
Meow_WR2X_Core::random_ascii_chars()
S
63 2 9
MeowCommon_Issues::check_plugins()
S
74 2 5
Meow_WR2X_Core::disable_upload_sizes()
S
68 2 7
Meow_WR2X_Core::remove_issue()
S
68 2 7
MeowCommon_Helpers::is_divi_builder()
S
78 2 3
MeowCommon_Ratings::create_rating_date()
S
63 2 10
MeowCommon_Helpers::is_pagebuilder_request()
S
79 2 3
Meow_WR2X_Core::add_ignore()
S
65 2 9
Meow_WR2X_Core::is_supported_image()
S
63 2 9
Meow_WR2X_Core::fix_multisite()
S
68 2 7
Meow_WR2X_Core::is_wpml_installed()
S
79 2 3
MeowCommon_Rest::init_once()
S
74 2 5
Meow_WR2X_Core::parse_ini_size()
S
65 2 8
Meow_WR2X_Library::manage_media_custom_column()
S
73 2 5
Meow_Logger::log()
S
66 2 9
MeowCommon_Rest::get_all_options()
S
67 2 8
MeowCommon_Helpers::is_cornerstone_builder()
S
78 2 3
Meow_WR2X_Core::add_image_sizes()
S
69 2 6
Meow_WR2X_Core::are_dimensions_ok()
S
72 2 5
MeowCommon_Issues::check_litespeed()
S
71 2 6
MeowCommon_Ratings::nice_short_url_from_file()
S
66 2 8
Meow_WR2X_Core::disable_image_sizes()
S
66 2 8
Meow_WR2X_Core::unset_image_sizes()
S
68 2 7
Meow_WR2X_Core::update_options()
S
69 2 7
Meow_WR2X_Core::is_debug()
S
69 2 7
Meow_Logger::emergency()
S
80 1 3
MeowCommon_Rest::file_operation()
S
74 1 4
Meow_WR2X_Engine::delete_retina_attachment()
S
73 1 5
MeowCommon_Issues::__construct()
S
82 1 3
MeowCommon_Helpers::diff()
S
70 1 6
Meow_Logger::reset()
S
81 1 3
MeowCommon_Admin::request_verify_ssl()
S
80 1 3
Meow_WR2X_Admin::wr2x_settings()
S
82 1 3
Meow_WR2X_Core::picture_buffer_end()
S
82 1 3
MeowCommon_Rest::__construct()
S
79 1 3
wr2x_get_retina()
S
77 1 4
MeowCommon_Rest::file_rand()
S
70 1 6
Meow_WR2X_Admin::app_menu()
S
72 1 5
Meow_WR2X_Rest::rest_all_settings()
S
77 1 3
Meow_WR2X_Admin::activate()
S
77 1 4
Meow_WR2X_Core::render_metabox()
S
80 1 3
Meow_Logger::warning()
S
80 1 3
wr2x_admin_notices()
S
83 1 3
wr2x_get_pathinfo_from_image_src()
S
77 1 4
Meow_Logger::debug()
S
80 1 3
Meow_WR2X_Core::remove_optimize_issue()
S
73 1 5
Meow_WR2X_Engine::__construct()
S
72 1 5
Meow_WR2X_Rest::count_optimize_issues()
S
80 1 3
MeowCommon_Rest::sql_request()
S
71 1 5
Meow_WR2X_Core::retina_extension()
S
83 1 3
MeowCommon_Helpers::is_woocommerce_ajax_request()
S
79 1 3
Meow_WR2X_Rest::regenerate_thumbnails()
S
66 1 8
Meow_WR2X_Core::add_action_link()
S
75 1 4
Meow_WR2X_Core::buffer_start()
S
76 1 4
Meow_WR2X_Dashboard::__construct()
S
75 1 4
Meow_WR2X_Library::__construct()
S
72 1 5
MeowCommon_Rest::list_options()
S
72 1 6
Meow_WR2X_Rest::__construct()
S
72 1 5
Meow_Logger::notice()
S
80 1 3
Meow_WR2X_Rest::count_issues()
S
80 1 3
Meow_WR2X_Rest::count_ignored()
S
80 1 3
Meow_WR2X_Core::get_option()
S
75 1 4
Meow_WR2X_Engine::delete_attachment()
S
69 1 7
Meow_Logger::alert()
S
80 1 3
Meow_WR2X_Engine::delete_webp_retina_attachment()
S
74 1 5
MeowCommon_Rest::empty_request()
S
78 1 3
Meow_WR2X_Core::can_access_features()
S
79 1 3
Meow_WR2X_Core::format_title()
S
77 1 3
MeowCommon_Admin::is_registered()
S
75 1 4
Meow_WR2X_Core::get_option_name()
S
83 1 3
Meow_Logger::error()
S
80 1 3
Meow_WR2X_Rest::rest_refresh()
S
73 1 5
Meow_WR2X_Core::picture_buffer_start()
S
76 1 4
Meow_WR2X_Optimize::__construct()
S
70 1 6
Meow_WR2X_Core::get_plugin_option_name()
S
81 1 3
MeowCommon_Admin::admin_footer_text()
S
70 1 7
Meow_WR2X_Core::is_ignore()
S
76 1 4
Meow_WR2X_Core::get_upload_root()
S
76 1 4
MeowCommon_Admin::meowapps_hide_dashboard_callback()
S
69 1 6
wr2x_is_registered()
S
77 1 4
Meow_WR2X_Core::buffer_end()
S
82 1 3
Meow_Logger::critical()
S
80 1 3
Meow_WR2X_Dashboard::wr2x_dashboard()
S
82 1 3
MeowCommon_Helpers::timer_log_elapsed()
S
71 1 5
MeowCommon_Helpers::is_ajax_request()
S
81 1 3
MeowCommon_Ratings::show_meowapps_create_rating_date()
S
78 1 4
Meow_WR2X_Core::rewrite_url_to_retina()
S
71 1 5
MeowCommon_Helpers::timer_start()
S
75 1 4
wr2x_retina_extension()
S
77 1 4
Meow_Logger::info()
S
80 1 3
Meow_WR2X_Core::remove_ignore()
S
71 1 6
wr2x_picture_rewrite()
S
77 1 4
wr2x_delete_attachment()
S
76 1 4
MeowCommon_Rest::rest_error_logs()
S
77 1 3
Meow_WR2X_Core::get_wordpress_root()
S
83 1 3
MeowCommon_Helpers::timer_elapsed()
S
78 1 3
Meow_WR2X_Core::can_access_settings()
S
79 1 3
Meow_WR2X_Rest::rest_easy_io_unlink()
S
68 1 7
wr2x_get_retina_from_url()
S
77 1 4
Meow_WR2X_Core::sizes_sort_func()
S
78 1 3
Meow_WR2X_Engine::delete_webp_attachment()
S
73 1 5
Meow_WR2X_Core::webp_extension()
S
83 1 3
MeowCommon_Admin::admin_meow_apps()
S
67 1 8
Meow_WR2X_Core::big_image_size_threshold()
S
83 1 3
Meow_WR2X_Rest::rest_get_stats()
S
64 1 9
MeowCommon_Rest::rest_all_settings()
S
77 1 3
Meow_WR2X_Library::manage_media_columns()
S
77 1 4
Meow_WR2X_Admin::deactivate()
S
73 1 5
Meow_WR2X_Dashboard::admin_menu_dashboard()
S
68 1 6
Meow_WR2X_Core::get_upload_root_url()
S
76 1 4
wr2x_generate_images()
S
77 1 4