ShortPixel Image Optimizer 4.22.9

Does ShortPixel Image Optimizer work with WordPress 6.0 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: 288.18 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.0
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=bac4c77fb3
Aspect after-activation
HTTP status 200
Load time 2.191 s
Memory usage 4.25 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.560 s
Memory usage 3.99 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.769 s
Memory usage 4.05 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.242 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.407 s0.282 s-0.125 s3.72 MiB3.98 MiB+ 268.59 KiB
/wp-admin/edit.php0.187 s0.238 s+0.051 s3.75 MiB4.08 MiB+ 336.84 KiB
/wp-admin/post-new.php0.751 s1.101 s+0.350 s5.53 MiB5.8 MiB+ 273.7 KiB
/wp-admin/upload.php0.414 s0.432 s+0.018 s3.68 MiB4.12 MiB+ 450.14 KiB
/wp-admin/options-writing.php0.291 s0.170 s-0.121 s3.61 MiB3.92 MiB+ 310.61 KiB
/wp-admin/media-new.php0.302 s0.223 s-0.079 s3.66 MiB3.92 MiB+ 268.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.220 s+0.021 s3.68 MiB3.95 MiB+ 267.38 KiB
/wp-admin/post-new.php?post_type=page0.703 s1.077 s+0.374 s5.53 MiB5.79 MiB+ 269.62 KiB
/wp-admin/options-discussion.php0.393 s0.324 s-0.069 s3.59 MiB3.92 MiB+ 330.78 KiB
/wp-admin/edit-comments.php0.221 s0.214 s-0.007 s3.69 MiB3.95 MiB+ 266.26 KiB
/0.296 s0.222 s-0.074 s3.6 MiB3.72 MiB+ 127.55 KiB
Average 0.379 s0.409 s+0.031 s4 MiB4.29 MiB+ 288.18 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.1%17,0722,64061
JavaScript12.6%2,8364157
CSS7.8%1,744539
Sass3.2%7172711
JSON0.2%5004
Total 22,419 3,135 92

PHP Code Analysis | More results »

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

[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: mainFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 85
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: mainProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 85
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 86
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: mainFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 86
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: totalProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 86
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: mainProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 86
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 89
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: totalProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 89
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: mainFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 100
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: mainProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 100
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 101
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: totalProcessedFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 101
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: mainMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 105
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 107
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: mainMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 107
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 133
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 145
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 145
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: totalMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 156
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: totalProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 156
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: mainProcessedMlFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 184
[25-May-2022 07:52:20 UTC] PHP Notice:  Undefined index: totalFiles in /wp-content/plugins/shortpixel-image-optimiser/class/view/shortpixel_view.php on line 202
[25-May-2022 07:52:20 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