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

Most Complex Functions

Function Rating Complexity
ImageOptimization\Modules\Optimization\Components\Media_Control::render_optimization_control()
B
18
ImageOptimization\Modules\Optimization\Components\Avif_Compatibility::fix_avif_images()
A
16
ImageOptimization\Classes\Client\Client::request()
A
13
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\Modules\Settings\Classes\Settings::get()
A
10
ImageOptimization\Modules\Optimization\Classes\Validate_Image::is_valid()
A
9
ImageOptimization\Modules\Core\Module::enqueue_scripts()
A
8
ImageOptimization\Modules\Optimization\Components\Admin_Filter::handle_filter()
A
8
ImageOptimization\Modules\Connect\Rest\Authorize::POST()
A
8
ImageOptimization\Modules\Stats\Classes\Optimization_Stats::get_image_stats()
A
8