Image Optimizer – Compress, Resize and Optimize Images 1.5.3

Does "Image Optimizer – Compress, Resize and Optimize Images" work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
3PHP warnings
6Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 303.3 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 800,000+
WordPress.org page https://wordpress.org/plugins/image-optimization/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=image-optimization%2Fimage-optimization.php&plugin_status=all&paged=1&s&_wpnonce=f576626e66
Aspect after-activation
HTTP status 200
Load time 1.564 s
Memory usage 4.25 MiB
JS errors None
Resource errors None

Media → Image Optimizer

Page screenshot: Media  → Image Optimizer
URL /wp-admin/upload.php?page=image-optimization-settings
Aspect menu-item
HTTP status 200
Load time 0.425 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

Media → Bulk Optimization

Page screenshot: Media  → Bulk Optimization
URL /wp-admin/upload.php?page=image-optimization-bulk-optimization
Aspect menu-item
HTTP status 200
Load time 0.338 s
Memory usage 3.8 MiB
JS errors None
Resource errors None

Tools → Scheduled Actions

Page screenshot: Tools → Scheduled Actions
URL /wp-admin/tools.php?page=action-scheduler
Aspect menu-item
HTTP status 200
Load time 0.215 s
Memory usage 3.78 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.198 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.371 s0.355 s-0.016 s3.47 MiB3.75 MiB+ 283.21 KiB
/wp-admin/edit.php0.212 s0.236 s+0.024 s3.54 MiB3.84 MiB+ 306.92 KiB
/wp-admin/post-new.php0.805 s0.680 s-0.125 s5.75 MiB6.1 MiB+ 355.64 KiB
/wp-admin/upload.php0.695 s0.877 s+0.182 s3.49 MiB3.8 MiB+ 316.21 KiB
/wp-admin/options-writing.php0.234 s0.253 s+0.019 s3.41 MiB3.73 MiB+ 331.01 KiB
/wp-admin/media-new.php0.246 s0.293 s+0.047 s3.4 MiB3.73 MiB+ 345.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.241 s+0.036 s3.47 MiB3.75 MiB+ 287.01 KiB
/wp-admin/post-new.php?post_type=page0.616 s0.604 s-0.012 s5.75 MiB6.09 MiB+ 347.23 KiB
/wp-admin/options-discussion.php0.232 s0.411 s+0.179 s3.41 MiB3.73 MiB+ 333.32 KiB
/wp-admin/edit-comments.php0.545 s0.249 s-0.296 s3.49 MiB3.75 MiB+ 269.64 KiB
/0.347 s0.224 s-0.123 s3.45 MiB3.61 MiB+ 160.91 KiB
Average 0.410 s0.402 s-0.008 s3.87 MiB4.17 MiB+ 303.3 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP90.7%8,6461,843150
JavaScript7.9%7565015
CSS1.2%11403
SVG0.1%1301
Total 9,529 1,893 169

PHP Code Analysis | More results »

Lines of code 7,953
Total complexity 1,318
Median class complexity 6.0
Median method complexity 1.0
Most complex class ImageOptimization\Classes\Rest\Route
Most complex function ImageOptimization\Modules\Optimization\Components\Media_Control::render_optimization_control()
Classes 133
Methods 661
Functions 0

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 10

Custom Post Types 1

ID Name
scheduled-actionScheduled Actions

PHP Error Log 9 lines

[24-Sep-2024 10:37:01 UTC] [Image Optimizer]: info in ImageOptimization\Modules\Core\Components\Migrations->run_migration(): The migration `fix_optimized_size_keys` successfully executed.
[24-Sep-2024 10:37:01 UTC] [Image Optimizer]: info in ImageOptimization\Modules\Core\Components\Migrations->run_migration(): The migration `fix_mime_type` successfully executed.
[24-Sep-2024 10:37:01 UTC] [Image Optimizer]: info in ImageOptimization\Modules\Core\Components\Migrations->run_migration(): The migration `fix_avif_with_zero_dimensions` successfully executed.
[24-Sep-2024 10:37:03 UTC] PHP Warning:  Undefined property: ImageOptimization\Modules\ConnectManager\Classes\Connect_Runner::$get_client_secret in /wp-content/plugins/image-optimization/modules/core/module.php on line 208
[24-Sep-2024 10:37:03 UTC] [Image Optimizer]: info in ImageOptimization\Modules\ConnectManager\Components\Connect->get_connect_status(): Status check error. Reason: User is not connected
[24-Sep-2024 10:37:05 UTC] PHP Warning:  Undefined property: ImageOptimization\Modules\ConnectManager\Classes\Connect_Runner::$get_client_secret in /wp-content/plugins/image-optimization/modules/core/module.php on line 208
[24-Sep-2024 10:37:05 UTC] [Image Optimizer]: info in ImageOptimization\Modules\ConnectManager\Components\Connect->get_connect_status(): Status check error. Reason: User is not connected
[24-Sep-2024 10:37:12 UTC] PHP Warning:  Undefined property: ImageOptimization\Modules\ConnectManager\Classes\Connect_Runner::$get_client_secret in /wp-content/plugins/image-optimization/modules/core/module.php on line 208
[24-Sep-2024 10:37:12 UTC] [Image Optimizer]: info in ImageOptimization\Modules\ConnectManager\Components\Connect->get_connect_status(): Status check error. Reason: User is not connected
See also: All tests for this plugin, How to Hide Image Optimizer - Compress, Resize and Optimize Images Admin Menus