ShortPixel Image Optimizer 5.2.0

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

Summary

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

Memory usage: 319.91 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&part=settings
Requested URL /wp-admin/plugins.php?action=activate&plugin=shortpixel-image-optimiser%2Fwp-shortpixel.php&plugin_status=all&paged=1&s&_wpnonce=3b96e0f58d
Aspect after-activation
HTTP status 200
Load time 1.800 s
Memory usage 3.54 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.547 s
Memory usage 4.26 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.516 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.286 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.287 s0.307 s+0.020 s3.05 MiB3.19 MiB+ 149.93 KiB
/wp-admin/edit.php0.177 s0.240 s+0.063 s3.07 MiB3.29 MiB+ 224.39 KiB
/wp-admin/post-new.php0.869 s1.008 s+0.139 s4.97 MiB5.12 MiB+ 160.88 KiB
/wp-admin/upload.php0.795 s0.534 s-0.261 s2.99 MiB4.9 MiB+ 1.91 MiB
/wp-admin/options-writing.php0.150 s0.228 s+0.078 s2.99 MiB3.1 MiB+ 114.16 KiB
/wp-admin/media-new.php0.281 s0.205 s-0.076 s2.97 MiB3.1 MiB+ 139.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.179 s-0.017 s2.98 MiB3.14 MiB+ 164.88 KiB
/wp-admin/post-new.php?post_type=page0.637 s0.672 s+0.035 s4.96 MiB5.11 MiB+ 156.85 KiB
/wp-admin/options-discussion.php0.209 s0.199 s-0.010 s2.98 MiB3.1 MiB+ 131.4 KiB
/wp-admin/edit-comments.php0.231 s0.205 s-0.026 s3 MiB3.14 MiB+ 146.74 KiB
/0.289 s0.220 s-0.069 s2.94 MiB3.11 MiB+ 172.26 KiB
Average 0.375 s0.363 s-0.011 s3.35 MiB3.67 MiB+ 319.91 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
Language % Lines of code Comment lines Files
PHP68.2%22,7402,609116
JavaScript12.8%4,26858214
CSS10.5%3,4988012
Sass7.9%2,63610221
SVG0.4%13417
JSON0.3%8606
Total 33,362 3,374 176

PHP Code Analysis | More results »

Lines of code 20,202
Total complexity 4,252
Median class complexity 26.5
Median method complexity 2.0
Most complex class ShortPixel\Model\Image\MediaLibraryModel
Most complex function ShortPixel\Model\Image\MediaLibraryModel::checkLegacy()
Classes 88
Methods 1,039
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 1 lines

[15-Feb-2023 17:14:23 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 525
See also: All tests for this plugin, How to Hide ShortPixel Image Optimizer Admin Menus