ShortPixel Image Optimizer 5.5.2

Does ShortPixel Image Optimizer work with WordPress 6.4.2 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: 201.39 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.2
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=bedb730706
Aspect after-activation
HTTP status 200
Load time 1.895 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.238 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.528 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
Aspect menu-item
HTTP status 200
Load time 0.446 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.243 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.355 s0.336 s-0.019 s3.38 MiB3.56 MiB+ 179.45 KiB
/wp-admin/edit.php0.221 s0.226 s+0.005 s3.41 MiB3.65 MiB+ 253.66 KiB
/wp-admin/post-new.php0.857 s0.671 s-0.186 s5.46 MiB5.67 MiB+ 212.3 KiB
/wp-admin/upload.php0.783 s0.394 s-0.389 s3.32 MiB3.75 MiB+ 440.23 KiB
/wp-admin/options-writing.php0.229 s0.203 s-0.026 s3.32 MiB3.46 MiB+ 147.68 KiB
/wp-admin/media-new.php0.333 s0.285 s-0.048 s3.29 MiB3.48 MiB+ 185.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.202 s-0.003 s3.31 MiB3.5 MiB+ 192.45 KiB
/wp-admin/post-new.php?post_type=page0.604 s0.571 s-0.033 s5.45 MiB5.66 MiB+ 212.28 KiB
/wp-admin/options-discussion.php0.311 s0.244 s-0.067 s3.3 MiB3.45 MiB+ 155.89 KiB
/wp-admin/edit-comments.php0.254 s0.210 s-0.044 s3.34 MiB3.49 MiB+ 154.32 KiB
/0.283 s0.194 s-0.089 s3.36 MiB3.44 MiB+ 81.09 KiB
Average 0.403 s0.321 s-0.082 s3.72 MiB3.92 MiB+ 201.39 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,5692,589126
JavaScript14.6%5,51056018
CSS8.6%3,2466311
Sass8.1%3,04810922
SVG0.4%137110
Markdown0.3%11101
JSON0.2%8606
Total 37,707 3,322 194

PHP Code Analysis | More results »

Lines of code 22,520
Total complexity 4,657
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,125
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

[06-Dec-2023 18:48:10 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