ShortPixel Image Optimizer 4.21.2

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: 325.27 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=1233dd62be
Aspect after-activation
HTTP status 200
Load time 2.873 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.771 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.979 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.179 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.288 s0.281 s-0.007 s2.82 MiB3.11 MiB+ 298.03 KiB
/wp-admin/edit.php0.232 s0.257 s+0.025 s2.86 MiB3.21 MiB+ 356.21 KiB
/wp-admin/post-new.php0.987 s1.469 s+0.482 s5.02 MiB5.38 MiB+ 359.45 KiB
/wp-admin/upload.php0.561 s0.410 s-0.151 s2.7 MiB3.15 MiB+ 470.02 KiB
/wp-admin/options-writing.php0.231 s0.200 s-0.031 s2.71 MiB3.02 MiB+ 321.25 KiB
/wp-admin/media-new.php0.293 s0.213 s-0.080 s2.67 MiB3.02 MiB+ 354.8 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.212 s+0.025 s2.77 MiB3.05 MiB+ 290.35 KiB
/wp-admin/post-new.php?post_type=page1.105 s0.754 s-0.351 s5.01 MiB5.36 MiB+ 359.38 KiB
/wp-admin/options-discussion.php0.280 s0.237 s-0.043 s2.67 MiB3.02 MiB+ 353.76 KiB
/wp-admin/edit-comments.php0.280 s0.226 s-0.054 s2.78 MiB3.07 MiB+ 297.23 KiB
/0.364 s0.229 s-0.135 s2.71 MiB2.82 MiB+ 117.53 KiB
Average 0.437 s0.408 s-0.029 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.2%16,6722,64460
JavaScript13.0%2,8384137
CSS7.5%1,638509
Sass3.1%6802611
JSON0.2%5004
Total 21,878 3,133 91

PHP Code Analysis | More results »

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

[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: mainFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 93
[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: mainProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 93
[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 94
[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: totalProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 94
[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: mainMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 98
[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 100
[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: mainMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 100
[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 113
[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 125
[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 125
[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 136
[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 136
[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: mainProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 164
[15-Apr-2021 04:09:16 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 182
[15-Apr-2021 04:09:16 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