ShortPixel Image Optimizer 5.0.9

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

Summary

Errors
2PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 445.35 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.0.3
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=9d8eab8f59
Aspect after-activation
HTTP status 200
Load time 1.839 s
Memory usage 4.36 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.495 s
Memory usage 5.04 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.399 s
Memory usage 3.99 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.228 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.303 s0.270 s-0.033 s3.73 MiB3.95 MiB+ 223.41 KiB
/wp-admin/edit.php0.166 s0.301 s+0.135 s3.76 MiB4.07 MiB+ 309.22 KiB
/wp-admin/post-new.php0.702 s0.922 s+0.220 s5.55 MiB5.79 MiB+ 245.7 KiB
/wp-admin/upload.php0.365 s0.354 s-0.011 s3.69 MiB6.18 MiB+ 2.49 MiB
/wp-admin/options-writing.php0.149 s0.155 s+0.006 s3.62 MiB3.88 MiB+ 261.68 KiB
/wp-admin/media-new.php0.384 s0.199 s-0.185 s3.67 MiB3.88 MiB+ 217.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.211 s0.178 s-0.033 s3.69 MiB3.91 MiB+ 218.85 KiB
/wp-admin/post-new.php?post_type=page0.656 s0.776 s+0.120 s5.55 MiB5.79 MiB+ 245.63 KiB
/wp-admin/options-discussion.php0.206 s0.340 s+0.134 s3.6 MiB3.88 MiB+ 282.26 KiB
/wp-admin/edit-comments.php0.210 s0.205 s-0.005 s3.7 MiB3.91 MiB+ 217.13 KiB
/0.278 s0.193 s-0.085 s3.62 MiB3.74 MiB+ 127.79 KiB
Average 0.330 s0.354 s+0.024 s4.02 MiB4.45 MiB+ 445.35 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
PHP65.6%20,1652,55796
JavaScript13.8%4,23858014
CSS11.4%3,5168012
Sass8.4%2,57710421
SVG0.4%13417
JSON0.3%8606
Total 30,716 3,322 156

PHP Code Analysis | More results »

Lines of code 17,788
Total complexity 3,779
Median class complexity 38.0
Median method complexity 2.0
Most complex class ShortPixel\Model\Image\MediaLibraryModel
Most complex function ShortPixel\Model\Image\MediaLibraryModel::checkLegacy()
Classes 68
Methods 918
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 10

User Metadata wp_usermeta 1

PHP Error Log 2 lines

[18-Oct-2022 00:17:15 UTC] PHP Notice:  Undefined index: removeSettingsOnDeletePlugin in /wp-content/plugins/shortpixel-image-optimiser/class/wp-shortpixel-settings.php on line 196
[18-Oct-2022 00:17:15 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/shortpixel-image-optimiser/class/wp-shortpixel-settings.php on line 196
See also: All tests for this plugin, How to Hide ShortPixel Image Optimizer Admin Menus