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

Most Complex Functions

Function Rating Complexity
ImageOptimization\Modules\Optimization\Components\Media_Control::render_optimization_control()
B
18
ImageOptimization\Modules\Optimization\Components\Media_Control::render_optimization_control()
B
18
ImageOptimization\Classes\Client\Client::request()
A
13
ImageOptimization\Classes\Client\Client::request()
A
13
ImageOptimization\Modules\Connect\Rest\Authorize::POST()
A
11
ImageOptimization\Modules\Connect\Rest\Authorize::POST()
A
11
ImageOptimization\Modules\Optimization\Components\Avif_Compatibility::fix_avif_images()
A
12
ImageOptimization\Modules\Optimization\Components\Avif_Compatibility::fix_avif_images()
A
12
ImageOptimization\Modules\Optimization\Classes\Optimize_Image::optimize()
A
10
ImageOptimization\Modules\Optimization\Classes\Optimize_Image::optimize()
A
10
ImageOptimization\Classes\Migration\Handlers\Fix_Mime_Type::run()
A
11
ImageOptimization\Classes\Migration\Handlers\Fix_Mime_Type::run()
A
11