ShortPixel Image Optimizer 5.5.1

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

Summary

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

Memory usage: 205.53 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.4.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 5

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=023f2f4866
Aspect after-activation
HTTP status 200
Load time 1.897 s
Memory usage 3.82 MiB
JS errors None
Resource errors None

Media → Custom Media

Page screenshot: Media → Custom Media
URL /wp-admin/upload.php?page=wp-short-pixel-custom
Aspect menu-item
HTTP status 200
Load time 0.286 s
Memory usage 3.73 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.628 s
Memory usage 4.71 MiB
JS errors None
Resource errors None

Settings → ShortPixel

Page screenshot: Settings → ShortPixel
URL /wp-admin/options-general.php?page=wp-shortpixel-settings&part=settings
Requested URL /wp-admin/options-general.php?page=wp-shortpixel-settings
Aspect menu-item
HTTP status 200
Load time 0.651 s
Memory usage 3.52 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.229 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.414 s0.372 s-0.042 s3.38 MiB3.56 MiB+ 179.2 KiB
/wp-admin/edit.php0.266 s0.543 s+0.277 s3.41 MiB3.65 MiB+ 253.41 KiB
/wp-admin/post-new.php1.007 s0.743 s-0.264 s5.46 MiB5.67 MiB+ 212.05 KiB
/wp-admin/upload.php0.676 s0.364 s-0.312 s3.32 MiB3.75 MiB+ 439.93 KiB
/wp-admin/options-writing.php0.245 s0.245 s+0.000 s3.32 MiB3.46 MiB+ 147.38 KiB
/wp-admin/media-new.php0.370 s0.325 s-0.045 s3.29 MiB3.48 MiB+ 185.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.227 s+0.012 s3.31 MiB3.5 MiB+ 192.15 KiB
/wp-admin/post-new.php?post_type=page0.688 s0.851 s+0.163 s5.45 MiB5.66 MiB+ 207.61 KiB
/wp-admin/options-discussion.php0.397 s0.292 s-0.105 s3.3 MiB3.45 MiB+ 155.65 KiB
/wp-admin/edit-comments.php0.279 s0.266 s-0.013 s3.34 MiB3.49 MiB+ 154.07 KiB
/0.349 s0.224 s-0.125 s3.31 MiB3.44 MiB+ 133.72 KiB
Average 0.446 s0.405 s-0.041 s3.72 MiB3.92 MiB+ 205.53 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
PHP67.8%25,5282,595126
JavaScript14.6%5,48755818
CSS8.6%3,2406311
Sass8.1%3,04210922
SVG0.4%137110
Markdown0.3%11101
JSON0.2%8606
Total 37,631 3,326 194

PHP Code Analysis | More results »

Lines of code 22,481
Total complexity 4,651
Median class complexity 28.0
Median method complexity 2.0
Most complex class ShortPixel\Model\Image\MediaLibraryModel
Most complex function ShortPixel\Model\Image\MediaLibraryModel::checkLegacy()
Classes 90
Methods 1,124
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

[17-Nov-2023 19:25:20 UTC] PHP Warning:  Undefined array key "sortable" in /wp-content/plugins/shortpixel-image-optimiser/class/view/view-other-media.php on line 49
See also: All tests for this plugin, How to Hide ShortPixel Image Optimizer Admin Menus