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

Most Complex Functions

Function Rating Complexity
ImageOptimizer\Modules\Optimization\Components\Media_Control::render_optimization_control()
B
14
ImageOptimizer\Modules\Optimization\Classes\Bulk_Optimization::find_images_and_schedule_optimization()
A
9
ImageOptimizer\Modules\Core\Module::add_plugin_links()
A
9
ImageOptimizer\Classes\Client::request()
A
9
ImageOptimizer\Modules\Optimization\Components\Admin_Filter::handle_filter()
A
8
ImageOptimizer\Classes\Image\Image_Restore::restore()
A
8
ImageOptimizer\Modules\Settings\Classes\Settings::get()
A
9
ImageOptimizer\Modules\Optimization\Classes\Bulk_Optimization::find_optimized_images_and_schedule_reoptimization()
A
7
ImageOptimizer\Modules\Oauth\Components\Connect::maybe_handle_admin_connect_page()
A
8
ImageOptimizer\Modules\Optimization\Classes\Bulk_Optimization::get_processed_images()
A
6
ImageOptimizer\Modules\Core\Module::enqueue_scripts()
A
6
ImageOptimizer\Modules\Oauth\Rest\Activate::POST()
A
6