ShortPixel Adaptive Images 3.8.1

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

Summary

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

Memory usage: 112.63 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.2
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=4688e10717
Aspect after-activation
HTTP status 200
Load time 0.861 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.654 s
Memory usage 4.06 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.1:1:7985)\n    at /wp-content/plugins/shortpixel-adaptive-images/assets/js/pages/settings.min.js?ver=3.8.1: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.318 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.352 s0.373 s+0.021 s3.38 MiB3.5 MiB+ 119.13 KiB
/wp-admin/edit.php0.219 s0.230 s+0.011 s3.41 MiB3.58 MiB+ 183.58 KiB
/wp-admin/post-new.php0.964 s0.655 s-0.309 s5.46 MiB5.57 MiB+ 115.66 KiB
/wp-admin/upload.php0.796 s0.503 s-0.293 s3.32 MiB3.42 MiB+ 101.05 KiB
/wp-admin/options-writing.php0.233 s0.211 s-0.022 s3.32 MiB3.41 MiB+ 96.02 KiB
/wp-admin/media-new.php0.333 s0.276 s-0.057 s3.29 MiB3.41 MiB+ 115.97 KiB
/wp-admin/edit-tags.php?taxonomy=category0.222 s0.214 s-0.008 s3.31 MiB3.43 MiB+ 119.65 KiB
/wp-admin/post-new.php?post_type=page0.665 s0.624 s-0.041 s5.45 MiB5.56 MiB+ 115.28 KiB
/wp-admin/options-discussion.php0.291 s0.346 s+0.055 s3.3 MiB3.4 MiB+ 105.48 KiB
/wp-admin/edit-comments.php0.268 s0.286 s+0.018 s3.33 MiB3.44 MiB+ 102.52 KiB
/0.299 s0.300 s+0.001 s3.36 MiB3.42 MiB+ 64.59 KiB
Average 0.422 s0.365 s-0.057 s3.72 MiB3.83 MiB+ 112.63 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,3263,07254
CSS8.2%2,7671082
SVG1.6%533414
HTML0.0%801
Total 33,593 6,391 87

PHP Code Analysis | More results »

Lines of code 9,522
Total complexity 2,546
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 16 lines

[07-Dec-2023 08:47:26 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
[07-Dec-2023 08:47:26 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
[07-Dec-2023 08:47:27 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
[07-Dec-2023 08:47:28 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
[07-Dec-2023 08:47:30 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
[07-Dec-2023 08:47:30 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
[07-Dec-2023 08:47:31 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
[07-Dec-2023 08:47:34 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
[07-Dec-2023 08:47:34 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
[07-Dec-2023 08:47:35 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
[07-Dec-2023 08:47:35 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
[07-Dec-2023 08:47:35 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
[07-Dec-2023 08:47:38 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
[07-Dec-2023 08:47:39 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
[07-Dec-2023 08:47:39 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
[07-Dec-2023 08:47:40 UTC] PHP Warning:  Undefined property: stdClass::$Status in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/notice.class.php on line 404
See also: All tests for this plugin, How to Hide the "ShortPixel AI" Admin Menu