Image Optimizer - Compress, Resize and Optimize Images 1.6.1

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

Summary

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

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

Page speed impact: 0.058 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.7.1
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=896255f48f
Aspect after-activation
HTTP status 200
Load time 1.501 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.591 s
Memory usage 3.76 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.319 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.206 s
Memory usage 3.79 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.213 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.308 s0.285 s-0.023 s3.48 MiB3.76 MiB+ 284.43 KiB
/wp-admin/edit.php0.181 s0.202 s+0.021 s3.54 MiB3.84 MiB+ 308.57 KiB
/wp-admin/post-new.php0.718 s0.936 s+0.218 s5.92 MiB6.27 MiB+ 355.46 KiB
/wp-admin/upload.php0.505 s0.733 s+0.228 s3.5 MiB3.8 MiB+ 316.56 KiB
/wp-admin/options-writing.php0.199 s0.226 s+0.027 s3.47 MiB3.74 MiB+ 272.62 KiB
/wp-admin/media-new.php0.259 s0.271 s+0.012 s3.46 MiB3.74 MiB+ 281.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.171 s0.218 s+0.047 s3.48 MiB3.76 MiB+ 286.77 KiB
/wp-admin/post-new.php?post_type=page0.561 s0.690 s+0.129 s5.92 MiB6.26 MiB+ 346.98 KiB
/wp-admin/options-discussion.php0.287 s0.311 s+0.024 s3.47 MiB3.74 MiB+ 269.74 KiB
/wp-admin/edit-comments.php0.194 s0.237 s+0.043 s3.49 MiB3.76 MiB+ 269.41 KiB
/0.294 s0.203 s-0.091 s3.48 MiB3.62 MiB+ 141.3 KiB
Average 0.334 s0.392 s+0.058 s3.93 MiB4.21 MiB+ 284.86 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.9%8,8391,853151
JavaScript7.8%7565015
CSS1.2%11403
SVG0.1%1301
Total 9,722 1,903 170

PHP Code Analysis | More results »

Lines of code 8,147
Total complexity 1,338
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 134
Methods 672
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 6 lines

[28-Nov-2024 16:30:50 UTC] [Image Optimizer]: info in ImageOptimization\Modules\Core\Components\Migrations->run_migration(): The migration `fix_optimized_size_keys` successfully executed.
[28-Nov-2024 16:30:50 UTC] [Image Optimizer]: info in ImageOptimization\Modules\Core\Components\Migrations->run_migration(): The migration `fix_mime_type` successfully executed.
[28-Nov-2024 16:30:50 UTC] [Image Optimizer]: info in ImageOptimization\Modules\Core\Components\Migrations->run_migration(): The migration `fix_avif_with_zero_dimensions` successfully executed.
[28-Nov-2024 16:30:52 UTC] [Image Optimizer]: info in ImageOptimization\Modules\ConnectManager\Components\Connect->get_connect_status(): Status check error. Reason: User is not connected
[28-Nov-2024 16:30:54 UTC] [Image Optimizer]: info in ImageOptimization\Modules\ConnectManager\Components\Connect->get_connect_status(): Status check error. Reason: User is not connected
[28-Nov-2024 16:31:00 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