ShortPixel Adaptive Images 3.8.2

Does ShortPixel Adaptive Images work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
3PHP warnings
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 116.86 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 version6.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/shortpixel-adaptive-images/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

ShortPixel AI On-Boarding ‹ Test site — WordPress

Page screenshot: ShortPixel AI On-Boarding ‹ Test site — WordPress
URL /wp-admin/admin.php?page=shortpixel-ai-on-boarding
Requested URL /wp-admin/plugins.php?action=activate&plugin=shortpixel-adaptive-images%2Fshort-pixel-ai.php&plugin_status=all&paged=1&s&_wpnonce=39c86b573d
Aspect after-activation
HTTP status 200
Load time 0.666 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Settings → ShortPixel AI

Page screenshot: Settings → ShortPixel AI
URL /wp-admin/options-general.php?page=shortpixel-ai-settings
Aspect menu-item
HTTP status 200
Load time 0.583 s
Memory usage 4.07 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'outerHTML')\n    at i (/wp-content/plugins/shortpixel-adaptive-images/assets/js/pages/settings.min.js?ver=3.8.2:1:7985)\n    at /wp-content/plugins/shortpixel-adaptive-images/assets/js/pages/settings.min.js?ver=3.8.2:1:7819",
        "trace": null,
        "code": null
    }
]
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.274 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.326 s0.371 s+0.045 s3.38 MiB3.5 MiB+ 118.88 KiB
/wp-admin/edit.php0.203 s0.222 s+0.019 s3.41 MiB3.59 MiB+ 183.34 KiB
/wp-admin/post-new.php0.959 s0.847 s-0.112 s5.46 MiB5.57 MiB+ 115.42 KiB
/wp-admin/upload.php0.685 s0.435 s-0.250 s3.32 MiB3.42 MiB+ 100.06 KiB
/wp-admin/options-writing.php0.213 s0.199 s-0.014 s3.32 MiB3.41 MiB+ 95.03 KiB
/wp-admin/media-new.php0.296 s0.255 s-0.041 s3.3 MiB3.41 MiB+ 114.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.203 s+0.004 s3.31 MiB3.43 MiB+ 118.66 KiB
/wp-admin/post-new.php?post_type=page0.589 s0.632 s+0.043 s5.45 MiB5.56 MiB+ 115.04 KiB
/wp-admin/options-discussion.php0.269 s0.254 s-0.015 s3.3 MiB3.41 MiB+ 104.5 KiB
/wp-admin/edit-comments.php0.256 s0.237 s-0.019 s3.34 MiB3.44 MiB+ 102.27 KiB
/0.277 s0.455 s+0.178 s3.31 MiB3.42 MiB+ 117.22 KiB
Average 0.388 s0.374 s-0.015 s3.72 MiB3.83 MiB+ 116.86 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.

JavaScript
PHP
CSS
Language % Lines of code Comment lines Files
JavaScript56.4%18,9593,20716
PHP33.7%11,3393,07354
CSS8.2%2,7671082
SVG1.6%533414
HTML0.0%801
Total 33,606 6,392 87

PHP Code Analysis | More results »

Lines of code 9,535
Total complexity 2,553
Median class complexity 20.5
Median method complexity 3.0
Most complex class ShortPixelAI
Most complex function ShortPixel\AI\Notice::renderNotices()
Classes 48
Methods 429
Functions 0

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.

Options wp_options 1

PHP Error Log 3 lines

[31-Jan-2024 11:19:50 UTC] PHP Warning:  Attempt to read property "areas" on null in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/short-pixel-ai.class.php on line 610
[31-Jan-2024 11:19:50 UTC] PHP Warning:  Attempt to read property "parse_css_files" on null in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/short-pixel-ai.class.php on line 610
[31-Jan-2024 11:19:52 UTC] PHP Warning:  Undefined array key "HTTPS" in /wp-content/plugins/shortpixel-adaptive-images/includes/views/settings.tpl.php on line 108
See also: All tests for this plugin, How to Hide the "ShortPixel AI" Admin Menu