ShortPixel Image Optimizer 6.2.1

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 257.19 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.8.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
Requested URL /wp-admin/plugins.php?action=activate&plugin=shortpixel-image-optimiser%2Fwp-shortpixel.php&plugin_status=all&paged=1&s&_wpnonce=44b5d77462
Aspect after-activation
HTTP status 200
Load time 2.381 s
Memory usage 4.44 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.255 s
Memory usage 3.91 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.487 s
Memory usage 4.85 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.594 s
Memory usage 3.73 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.230 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.366 s0.381 s+0.015 s3.51 MiB3.81 MiB+ 315.23 KiB
/wp-admin/edit.php0.228 s0.251 s+0.023 s3.57 MiB3.84 MiB+ 279.19 KiB
/wp-admin/post-new.php0.891 s0.892 s+0.001 s6.06 MiB6.33 MiB+ 275.13 KiB
/wp-admin/upload.php0.847 s0.514 s-0.333 s3.52 MiB3.93 MiB+ 412.77 KiB
/wp-admin/options-writing.php0.248 s0.231 s-0.017 s3.5 MiB3.71 MiB+ 213.51 KiB
/wp-admin/media-new.php0.283 s0.269 s-0.014 s3.49 MiB3.73 MiB+ 243.72 KiB
/wp-admin/edit-tags.php?taxonomy=category0.212 s0.228 s+0.016 s3.5 MiB3.73 MiB+ 232.47 KiB
/wp-admin/post-new.php?post_type=page0.787 s0.731 s-0.056 s6.05 MiB6.31 MiB+ 270.66 KiB
/wp-admin/options-discussion.php0.358 s0.337 s-0.021 s3.5 MiB3.71 MiB+ 210.01 KiB
/wp-admin/edit-comments.php0.455 s0.217 s-0.238 s3.52 MiB3.73 MiB+ 209.66 KiB
/0.337 s0.433 s+0.096 s3.44 MiB3.6 MiB+ 166.79 KiB
Average 0.456 s0.408 s-0.048 s3.97 MiB4.22 MiB+ 257.19 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
PHP61.9%29,8493,308155
JavaScript13.7%6,59251519
CSS10.7%5,17214511
Sass9.9%4,75723633
SVG3.4%1,627462
Markdown0.2%11101
JSON0.2%8606
Total 48,194 4,208 287

PHP Code Analysis | More results »

Lines of code 26,026
Total complexity 5,479
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 111
Methods 1,366
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 5

User Metadata wp_usermeta 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide ShortPixel Image Optimizer Admin Menus