ShortPixel Image Optimizer 5.2.1

Does ShortPixel Image Optimizer work with WordPress 6.2 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: 315.58 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.023 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.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 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=c1dbfdbb24
Aspect after-activation
HTTP status 200
Load time 1.571 s
Memory usage 3.57 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.469 s
Memory usage 4.28 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.510 s
Memory usage 3.18 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.294 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.290 s0.447 s+0.157 s3.07 MiB3.22 MiB+ 149.27 KiB
/wp-admin/edit.php0.195 s0.246 s+0.051 s3.1 MiB3.32 MiB+ 222.79 KiB
/wp-admin/post-new.php0.798 s0.990 s+0.192 s5.02 MiB5.18 MiB+ 160.87 KiB
/wp-admin/upload.php0.605 s0.385 s-0.220 s3.02 MiB4.93 MiB+ 1.91 MiB
/wp-admin/options-writing.php0.158 s0.160 s+0.002 s3.02 MiB3.13 MiB+ 113.3 KiB
/wp-admin/media-new.php0.307 s0.193 s-0.114 s3 MiB3.13 MiB+ 138.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.164 s0.179 s+0.015 s3.01 MiB3.15 MiB+ 148.55 KiB
/wp-admin/post-new.php?post_type=page0.649 s0.742 s+0.093 s5.01 MiB5.17 MiB+ 156.85 KiB
/wp-admin/options-discussion.php0.203 s0.325 s+0.122 s3 MiB3.13 MiB+ 127.04 KiB
/wp-admin/edit-comments.php0.201 s0.223 s+0.022 s3.03 MiB3.15 MiB+ 125.77 KiB
/0.278 s0.214 s-0.064 s2.97 MiB3.14 MiB+ 170.98 KiB
Average 0.350 s0.373 s+0.023 s3.39 MiB3.69 MiB+ 315.58 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,7512,621116
JavaScript12.8%4,27458314
CSS10.5%3,4988012
Sass7.9%2,63610221
SVG0.4%13417
JSON0.3%8606
Total 33,379 3,387 176

PHP Code Analysis | More results »

Lines of code 20,213
Total complexity 4,253
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

[29-Mar-2023 19:59:44 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