Code Analysis: Image Optimizer – Compress, Resize and Optimize Images 1.5.3

Most Complex Functions

Function Rating Complexity
ImageOptimization\Modules\Optimization\Components\Media_Control::render_optimization_control()
B
18
ImageOptimization\Classes\Client\Client::request()
A
13
ImageOptimization\Modules\Connect\Rest\Authorize::POST()
A
11
ImageOptimization\Modules\Optimization\Components\Avif_Compatibility::fix_avif_images()
A
12
ImageOptimization\Modules\Core\Module::enqueue_scripts()
A
10
ImageOptimization\Modules\Optimization\Classes\Optimize_Image::optimize()
A
10
ImageOptimization\Classes\Migration\Handlers\Fix_Mime_Type::run()
A
11
ImageOptimization\Modules\Optimization\Classes\Optimize_Image::send_file()
A
9
ImageOptimization\Classes\Image\Image_Restore::restore()
A
9
ImageOptimization\Modules\Settings\Classes\Settings::get()
A
10
ImageOptimization\Modules\Optimization\Classes\Validate_Image::is_valid()
A
9
ImageOptimization\Modules\Optimization\Components\Upload_Optimization::handle_upload()
A
9