Code Analysis: Image Optimizer – Optimize Images and Convert to WebP or AVIF 1.3.0

Most Complex Functions

Function Rating Complexity
ImageOptimization\Modules\Optimization\Components\Media_Control::render_optimization_control()
B
16
ImageOptimization\Modules\Optimization\Classes\Optimize_Image::send_file()
A
9
ImageOptimization\Modules\Optimization\Classes\Optimize_Image::optimize()
A
9
ImageOptimization\Classes\Image\Image_Restore::restore()
A
9
ImageOptimization\Classes\Client\Client::request()
A
9
ImageOptimization\Modules\Optimization\Components\Admin_Filter::handle_filter()
A
8
ImageOptimization\Modules\Settings\Classes\Settings::get()
A
9
ImageOptimization\Modules\Optimization\Classes\Bulk_Optimization_Controller::find_optimized_images_and_schedule_reoptimization()
A
7
ImageOptimization\Modules\Core\Module::enqueue_scripts()
A
7
ImageOptimization\Modules\Optimization\Classes\Validate_Image::is_valid()
A
7
ImageOptimization\Modules\Oauth\Components\Connect::maybe_handle_admin_connect_page()
A
8
ImageOptimization\Modules\Optimization\Classes\Bulk_Optimization_Controller::find_images()
A
7