Image Optimizer - Compress, Resize and Optimize Images 1.5.4

Does "Image Optimizer - Compress, Resize and Optimize Images" work with WordPress 6.7 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: 285.85 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.7
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=4376254716
Aspect after-activation
HTTP status 200
Load time 1.599 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.406 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.298 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.205 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.182 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.309 s0.302 s-0.007 s3.48 MiB3.76 MiB+ 284.91 KiB
/wp-admin/edit.php0.194 s0.247 s+0.053 s3.54 MiB3.84 MiB+ 310.06 KiB
/wp-admin/post-new.php0.738 s0.748 s+0.010 s5.92 MiB6.27 MiB+ 355.94 KiB
/wp-admin/upload.php0.524 s0.770 s+0.246 s3.49 MiB3.8 MiB+ 317.04 KiB
/wp-admin/options-writing.php0.226 s0.229 s+0.003 s3.47 MiB3.74 MiB+ 273.09 KiB
/wp-admin/media-new.php0.272 s0.271 s-0.001 s3.46 MiB3.74 MiB+ 282.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.226 s+0.011 s3.47 MiB3.75 MiB+ 287.25 KiB
/wp-admin/post-new.php?post_type=page0.543 s0.582 s+0.039 s5.92 MiB6.26 MiB+ 347.47 KiB
/wp-admin/options-discussion.php0.260 s0.336 s+0.076 s3.47 MiB3.74 MiB+ 270.22 KiB
/wp-admin/edit-comments.php0.208 s0.226 s+0.018 s3.49 MiB3.76 MiB+ 269.88 KiB
/0.473 s0.179 s-0.294 s3.47 MiB3.62 MiB+ 146.37 KiB
Average 0.360 s0.374 s+0.014 s3.93 MiB4.21 MiB+ 285.85 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.8%8,6691,847150
JavaScript7.9%7565015
CSS1.2%11403
SVG0.1%1301
Total 9,552 1,897 169

PHP Code Analysis | More results »

Lines of code 7,976
Total complexity 1,326
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 667
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

[12-Nov-2024 22:41:21 UTC] [Image Optimizer]: info in ImageOptimization\Modules\Core\Components\Migrations->run_migration(): The migration `fix_optimized_size_keys` successfully executed.
[12-Nov-2024 22:41:21 UTC] [Image Optimizer]: info in ImageOptimization\Modules\Core\Components\Migrations->run_migration(): The migration `fix_mime_type` successfully executed.
[12-Nov-2024 22:41:21 UTC] [Image Optimizer]: info in ImageOptimization\Modules\Core\Components\Migrations->run_migration(): The migration `fix_avif_with_zero_dimensions` successfully executed.
[12-Nov-2024 22:41:24 UTC] [Image Optimizer]: info in ImageOptimization\Modules\ConnectManager\Components\Connect->get_connect_status(): Status check error. Reason: User is not connected
[12-Nov-2024 22:41:25 UTC] [Image Optimizer]: info in ImageOptimization\Modules\ConnectManager\Components\Connect->get_connect_status(): Status check error. Reason: User is not connected
[12-Nov-2024 22:41:31 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