ShortPixel Image Optimizer 4.22.2

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

Summary

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

Memory usage: 309.98 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 version5.8
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=e6bdfefb64
Aspect after-activation
HTTP status 200
Load time 3.977 s
Memory usage 3.53 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.724 s
Memory usage 3.35 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.958 s
Memory usage 3.4 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.281 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.381 s0.489 s+0.108 s3.08 MiB3.42 MiB+ 340.38 KiB
/wp-admin/edit.php0.299 s0.293 s-0.006 s3.11 MiB3.45 MiB+ 346.45 KiB
/wp-admin/post-new.php1.238 s1.288 s+0.050 s5.27 MiB5.6 MiB+ 338.05 KiB
/wp-admin/upload.php0.925 s0.452 s-0.473 s3.03 MiB3.47 MiB+ 452.2 KiB
/wp-admin/options-writing.php0.217 s0.189 s-0.028 s3.02 MiB3.28 MiB+ 258.07 KiB
/wp-admin/media-new.php0.263 s0.229 s-0.034 s3.01 MiB3.28 MiB+ 276.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.211 s+0.027 s3.04 MiB3.31 MiB+ 275.17 KiB
/wp-admin/post-new.php?post_type=page0.725 s0.789 s+0.064 s5.26 MiB5.59 MiB+ 337.98 KiB
/wp-admin/options-discussion.php0.260 s0.277 s+0.017 s3 MiB3.27 MiB+ 274.58 KiB
/wp-admin/edit-comments.php0.206 s0.234 s+0.028 s3.04 MiB3.37 MiB+ 338.05 KiB
/0.315 s0.228 s-0.087 s2.91 MiB3.08 MiB+ 172.49 KiB
Average 0.456 s0.425 s-0.030 s3.43 MiB3.74 MiB+ 309.98 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
Language % Lines of code Comment lines Files
PHP76.0%16,9402,62261
JavaScript12.7%2,8364157
CSS7.8%1,742539
Sass3.2%7172711
JSON0.2%5004
Total 22,285 3,117 92

PHP Code Analysis | More results »

Lines of code 15,621
Total complexity 3,676
Median class complexity 49.5
Median method complexity 2.0
Most complex class WPShortPixel
Most complex function WPShortPixel::handleImageProcessing()
Classes 46
Methods 858
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 2

Options wp_options 73

PHP Error Log 23 lines

[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: mainFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 85
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: mainProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 85
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 86
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: mainFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 86
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 86
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: mainProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 86
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 89
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 89
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: mainFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 100
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: mainProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 100
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 101
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 101
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: mainMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 105
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 107
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: mainMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 107
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 133
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 145
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 145
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 156
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 156
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: mainProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 184
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 202
[20-Jul-2021 18:46:41 UTC] PHP Notice:  Undefined index: totalProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 202
See also: All tests for this plugin, How to Hide ShortPixel Image Optimizer Admin Menus