ShortPixel Image Optimizer 4.22.1

Does ShortPixel Image Optimizer work with WordPress 5.7.1 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: 331.9 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.7.1
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=bdf51b3788
Aspect after-activation
HTTP status 200
Load time 2.746 s
Memory usage 3.29 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.752 s
Memory usage 3.11 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.843 s
Memory usage 3.14 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.235 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.329 s+0.060 s2.82 MiB3.12 MiB+ 300.4 KiB
/wp-admin/edit.php0.202 s0.291 s+0.089 s2.86 MiB3.21 MiB+ 357.27 KiB
/wp-admin/post-new.php1.321 s1.228 s-0.093 s5.03 MiB5.38 MiB+ 360.51 KiB
/wp-admin/upload.php0.556 s0.393 s-0.163 s2.7 MiB3.16 MiB+ 469.21 KiB
/wp-admin/options-writing.php0.288 s0.212 s-0.076 s2.71 MiB3.03 MiB+ 322.13 KiB
/wp-admin/media-new.php0.234 s0.215 s-0.019 s2.67 MiB3.02 MiB+ 355.67 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.227 s+0.035 s2.77 MiB3.06 MiB+ 299.23 KiB
/wp-admin/post-new.php?post_type=page1.012 s0.741 s-0.271 s5.01 MiB5.36 MiB+ 360.43 KiB
/wp-admin/options-discussion.php0.304 s0.230 s-0.074 s2.68 MiB3.02 MiB+ 354.63 KiB
/wp-admin/edit-comments.php0.249 s0.229 s-0.020 s2.78 MiB3.07 MiB+ 298.11 KiB
/0.286 s0.229 s-0.057 s2.65 MiB2.82 MiB+ 173.27 KiB
Average 0.447 s0.393 s-0.054 s3.15 MiB3.48 MiB+ 331.9 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,9332,62161
JavaScript12.7%2,8364157
CSS7.8%1,742539
Sass3.2%7172711
JSON0.2%5004
Total 22,278 3,116 92

PHP Code Analysis | More results »

Lines of code 15,614
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 15 lines

[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: mainFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 93
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: mainProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 93
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 94
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: totalProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 94
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: mainMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 98
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 100
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: mainMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 100
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 124
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 136
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 136
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 147
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 147
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: mainProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 175
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 193
[05-May-2021 10:34:03 UTC] PHP Notice:  Undefined index: totalProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 193
See also: All tests for this plugin, How to Hide ShortPixel Image Optimizer Admin Menus