ShortPixel Image Optimizer 5.0.0

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

Summary

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

Memory usage: 450.29 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.0
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=53939bc95b
Aspect after-activation
HTTP status 200
Load time 1.976 s
Memory usage 4.95 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.513 s
Memory usage 4.09 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.288 s
Memory usage 3.98 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.266 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.400 s0.284 s-0.116 s3.72 MiB3.94 MiB+ 223.08 KiB
/wp-admin/edit.php0.182 s0.260 s+0.078 s3.75 MiB4.05 MiB+ 303.19 KiB
/wp-admin/post-new.php0.968 s1.228 s+0.260 s5.53 MiB5.77 MiB+ 239.98 KiB
/wp-admin/upload.php0.432 s0.437 s+0.005 s3.68 MiB6.16 MiB+ 2.48 MiB
/wp-admin/options-writing.php0.243 s0.172 s-0.071 s3.61 MiB3.87 MiB+ 265.57 KiB
/wp-admin/media-new.php0.266 s0.215 s-0.051 s3.66 MiB3.88 MiB+ 221.43 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.190 s-0.020 s3.68 MiB3.9 MiB+ 222.34 KiB
/wp-admin/post-new.php?post_type=page1.022 s1.097 s+0.075 s5.53 MiB5.76 MiB+ 239.91 KiB
/wp-admin/options-discussion.php0.233 s0.321 s+0.088 s3.59 MiB3.87 MiB+ 285.74 KiB
/wp-admin/edit-comments.php0.215 s0.222 s+0.007 s3.69 MiB3.91 MiB+ 220.62 KiB
/0.294 s0.211 s-0.083 s3.55 MiB3.73 MiB+ 192.83 KiB
Average 0.406 s0.422 s+0.016 s4 MiB4.44 MiB+ 450.29 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
PHP64.3%19,7912,436100
JavaScript15.8%4,87070815
CSS10.9%3,3688012
Sass8.2%2,51410120
SVG0.4%13417
JSON0.3%8606
Total 30,763 3,326 160

PHP Code Analysis | More results »

Lines of code 17,314
Total complexity 3,620
Median class complexity 36.0
Median method complexity 2.0
Most complex class ShortPixel\Model\Image\MediaLibraryModel
Most complex function ShortPixel\Model\Image\MediaLibraryModel::checkLegacy()
Classes 69
Methods 921
Functions 2

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 47

User Metadata wp_usermeta 1

PHP Error Log 2 lines

[14-Jun-2022 11:30:06 UTC] Activate pLuing
[14-Jun-2022 11:30:06 UTC] Activate pLuing
See also: All tests for this plugin, How to Hide ShortPixel Image Optimizer Admin Menus