ShortPixel Adaptive Images 3.7.2

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

Summary

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

Memory usage: 116.76 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.2.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=de699e5c2c
Aspect after-activation
HTTP status 200
Load time 0.750 s
Memory usage 3.17 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.698 s
Memory usage 3.76 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.383 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.327 s0.265 s-0.062 s3.07 MiB3.18 MiB+ 115.23 KiB
/wp-admin/edit.php0.198 s0.203 s+0.005 s3.1 MiB3.27 MiB+ 179.63 KiB
/wp-admin/post-new.php0.747 s0.965 s+0.218 s5.02 MiB5.12 MiB+ 105.65 KiB
/wp-admin/upload.php0.611 s0.274 s-0.337 s3.02 MiB3.11 MiB+ 96.88 KiB
/wp-admin/options-writing.php0.220 s0.157 s-0.063 s3.01 MiB3.1 MiB+ 86.44 KiB
/wp-admin/media-new.php0.366 s0.244 s-0.122 s2.99 MiB3.1 MiB+ 110.97 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.207 s+0.022 s3.01 MiB3.12 MiB+ 114.65 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.777 s+0.165 s5.01 MiB5.11 MiB+ 101.27 KiB
/wp-admin/options-discussion.php0.227 s0.294 s+0.067 s3 MiB3.1 MiB+ 100.48 KiB
/wp-admin/edit-comments.php0.235 s0.208 s-0.027 s3.03 MiB3.12 MiB+ 98.26 KiB
/0.311 s0.312 s+0.001 s2.97 MiB3.14 MiB+ 174.89 KiB
Average 0.367 s0.355 s-0.012 s3.38 MiB3.5 MiB+ 116.76 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.6%18,9563,20716
PHP33.5%11,2093,20454
CSS8.3%2,7731082
SVG1.6%533414
HTML0.0%801
Total 33,479 6,523 87

PHP Code Analysis | More results »

Lines of code 9,405
Total complexity 2,518
Median class complexity 20.0
Median method complexity 3.0
Most complex class ShortPixelAI
Most complex function ShortPixel\AI\TagRules::__construct()
Classes 48
Methods 422
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 8 lines

[20-May-2023 18:58:15 UTC] PHP Warning:  Attempt to read property "exclusions" on null in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/short-pixel-ai.class.php on line 1680
[20-May-2023 18:58:15 UTC] PHP Warning:  Attempt to read property "excluded_selectors" on null in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/short-pixel-ai.class.php on line 1682
[20-May-2023 18:58:15 UTC] PHP Warning:  Attempt to read property "eager_selectors" on null in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/short-pixel-ai.class.php on line 1683
[20-May-2023 18:58:15 UTC] PHP Warning:  Attempt to read property "noresize_selectors" on null in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/short-pixel-ai.class.php on line 1684
[20-May-2023 18:58:15 UTC] PHP Warning:  Attempt to read property "excluded_paths" on null in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/short-pixel-ai.class.php on line 1685
[20-May-2023 18:58:15 UTC] PHP Warning:  Attempt to read property "excluded_pages" on null in /wp-content/plugins/shortpixel-adaptive-images/includes/controllers/short-pixel-ai.class.php on line 1686
[20-May-2023 18:58:15 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 611
[20-May-2023 18:58:15 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 611
See also: All tests for this plugin, How to Hide the "ShortPixel AI" Admin Menu