ShortPixel Image Optimizer 5.1.5

Does ShortPixel Image Optimizer work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
3PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 316.22 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.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300,000+
WordPress.org page https://wordpress.org/plugins/shortpixel-image-optimiser/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

ShortPixel Settings ‹ Test site — WordPress

Page screenshot: ShortPixel Settings ‹ Test site — WordPress
URL /wp-admin/options-general.php?page=wp-shortpixel-settings
Requested URL /wp-admin/plugins.php?action=activate&plugin=shortpixel-image-optimiser%2Fwp-shortpixel.php&plugin_status=all&paged=1&s&_wpnonce=8d56d3126c
Aspect after-activation
HTTP status 200
Load time 1.381 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Media → Bulk ShortPixel

Page screenshot: Media → Bulk ShortPixel
URL /wp-admin/upload.php?page=wp-short-pixel-bulk
Aspect menu-item
HTTP status 200
Load time 0.405 s
Memory usage 4.16 MiB
JS errors None
Resource errors None

Settings → ShortPixel

Page screenshot: Settings → ShortPixel
URL /wp-admin/options-general.php?page=wp-shortpixel-settings
Aspect menu-item
HTTP status 200
Load time 0.515 s
Memory usage 3.15 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.259 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.304 s0.261 s-0.043 s3.05 MiB3.19 MiB+ 145.66 KiB
/wp-admin/edit.php0.196 s0.245 s+0.049 s3.07 MiB3.29 MiB+ 220.11 KiB
/wp-admin/post-new.php0.775 s1.012 s+0.237 s4.97 MiB5.12 MiB+ 156.59 KiB
/wp-admin/upload.php0.563 s0.332 s-0.231 s2.99 MiB4.9 MiB+ 1.91 MiB
/wp-admin/options-writing.php0.174 s0.156 s-0.018 s2.99 MiB3.1 MiB+ 109.96 KiB
/wp-admin/media-new.php0.284 s0.231 s-0.053 s2.97 MiB3.1 MiB+ 135.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.239 s0.187 s-0.052 s2.98 MiB3.14 MiB+ 160.67 KiB
/wp-admin/post-new.php?post_type=page0.631 s0.797 s+0.166 s4.96 MiB5.11 MiB+ 152.58 KiB
/wp-admin/options-discussion.php0.195 s0.306 s+0.111 s2.98 MiB3.1 MiB+ 127.02 KiB
/wp-admin/edit-comments.php0.217 s0.204 s-0.013 s3 MiB3.14 MiB+ 142.54 KiB
/0.284 s0.216 s-0.068 s2.94 MiB3.11 MiB+ 170.2 KiB
Average 0.351 s0.359 s+0.008 s3.35 MiB3.66 MiB+ 316.22 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
JavaScript
CSS
Sass
Language % Lines of code Comment lines Files
PHP66.7%21,1272,538108
JavaScript13.4%4,24058014
CSS11.0%3,4818012
Sass8.3%2,61810221
SVG0.4%13417
JSON0.3%8606
Total 31,686 3,301 168

PHP Code Analysis | More results »

Lines of code 18,638
Total complexity 3,961
Median class complexity 28.5
Median method complexity 2.0
Most complex class ShortPixel\Model\Image\MediaLibraryModel
Most complex function ShortPixel\Model\Image\MediaLibraryModel::checkLegacy()
Classes 80
Methods 961
Functions 1

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.

Database Tables 4

Options wp_options 11

User Metadata wp_usermeta 1

PHP Error Log 3 lines

[29-Nov-2022 17:00:30 UTC] PHP Deprecated:  strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/shortpixel-image-optimiser/class/Controller/QuotaController.php on line 209
[29-Nov-2022 17:00:30 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/shortpixel-image-optimiser/build/shortpixel/shortq/src/Queue/WPQ.php on line 480
[29-Nov-2022 17:00:30 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/shortpixel-image-optimiser/build/shortpixel/shortq/src/Queue/WPQ.php on line 517
See also: All tests for this plugin, How to Hide ShortPixel Image Optimizer Admin Menus