ShortPixel Image Optimizer 4.21.1

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

Summary

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

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

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

Environment
WordPress version5.7
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=2e6708c11f
Aspect after-activation
HTTP status 200
Load time 2.117 s
Memory usage 3.27 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.734 s
Memory usage 3.1 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.903 s
Memory usage 3.1 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.213 s
Memory usage 2.82 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.269 s0.270 s+0.001 s2.82 MiB3.11 MiB+ 298.03 KiB
/wp-admin/edit.php0.184 s0.276 s+0.092 s2.86 MiB3.21 MiB+ 356.21 KiB
/wp-admin/post-new.php0.926 s1.071 s+0.145 s5.02 MiB5.37 MiB+ 359.45 KiB
/wp-admin/upload.php0.471 s0.370 s-0.101 s2.7 MiB3.15 MiB+ 470.02 KiB
/wp-admin/options-writing.php0.158 s0.177 s+0.019 s2.71 MiB3.02 MiB+ 321.25 KiB
/wp-admin/media-new.php0.210 s0.189 s-0.021 s2.67 MiB3.02 MiB+ 354.8 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.271 s+0.079 s2.77 MiB3.05 MiB+ 290.35 KiB
/wp-admin/post-new.php?post_type=page1.042 s1.482 s+0.440 s5.01 MiB5.36 MiB+ 359.38 KiB
/wp-admin/options-discussion.php0.253 s0.326 s+0.073 s2.67 MiB3.02 MiB+ 353.76 KiB
/wp-admin/edit-comments.php0.233 s0.242 s+0.009 s2.78 MiB3.07 MiB+ 297.23 KiB
/0.256 s0.227 s-0.029 s2.71 MiB2.82 MiB+ 117.53 KiB
Average 0.381 s0.446 s+0.064 s3.16 MiB3.47 MiB+ 325.27 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.3%16,7242,66160
JavaScript12.9%2,8384137
CSS7.5%1,638509
Sass3.1%6802611
JSON0.2%5004
Total 21,930 3,150 91

PHP Code Analysis | More results »

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

PHP Error Log 15 lines

[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: mainFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 93
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: mainProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 93
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 94
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: totalProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 94
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: mainMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 98
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 100
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: mainMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 100
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 113
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 125
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 125
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 136
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 136
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: mainProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 164
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 182
[09-Mar-2021 22:04:23 UTC] PHP Notice:  Undefined index: totalProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 182
See also: All tests for this plugin, How to Hide ShortPixel Image Optimizer Admin Menus