ShortPixel Adaptive Images 3.8.0

Does ShortPixel Adaptive Images work with WordPress 6.4.1 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: 110.9 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.1
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=760a8d34e4
Aspect after-activation
HTTP status 200
Load time 0.732 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.695 s
Memory usage 4.06 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.328 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.385 s0.395 s+0.010 s3.38 MiB3.5 MiB+ 117.64 KiB
/wp-admin/edit.php0.240 s0.228 s-0.012 s3.41 MiB3.58 MiB+ 182.09 KiB
/wp-admin/post-new.php1.058 s0.727 s-0.331 s5.46 MiB5.57 MiB+ 114.18 KiB
/wp-admin/upload.php0.621 s0.526 s-0.095 s3.32 MiB3.42 MiB+ 98.82 KiB
/wp-admin/options-writing.php0.234 s0.218 s-0.016 s3.32 MiB3.41 MiB+ 93.79 KiB
/wp-admin/media-new.php0.320 s0.338 s+0.018 s3.29 MiB3.41 MiB+ 113.74 KiB
/wp-admin/edit-tags.php?taxonomy=category0.219 s0.231 s+0.012 s3.31 MiB3.43 MiB+ 117.42 KiB
/wp-admin/post-new.php?post_type=page0.637 s0.693 s+0.056 s5.45 MiB5.56 MiB+ 113.8 KiB
/wp-admin/options-discussion.php0.269 s0.305 s+0.036 s3.3 MiB3.4 MiB+ 103.26 KiB
/wp-admin/edit-comments.php0.312 s0.267 s-0.045 s3.34 MiB3.43 MiB+ 101.03 KiB
/0.307 s0.281 s-0.026 s3.36 MiB3.42 MiB+ 64.09 KiB
Average 0.418 s0.383 s-0.036 s3.72 MiB3.83 MiB+ 110.9 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.5%18,9593,20716
PHP33.6%11,2783,05354
CSS8.3%2,7731082
SVG1.6%533414
HTML0.0%801
Total 33,551 6,372 87

PHP Code Analysis | More results »

Lines of code 9,474
Total complexity 2,537
Median class complexity 20.5
Median method complexity 3.0
Most complex class ShortPixelAI
Most complex function ShortPixel\AI\TagRules::__construct()
Classes 48
Methods 427
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

[09-Nov-2023 15:13:50 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 1695
[09-Nov-2023 15:13:50 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 1697
[09-Nov-2023 15:13:50 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 1698
[09-Nov-2023 15:13:50 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 1699
[09-Nov-2023 15:13:50 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 1700
[09-Nov-2023 15:13:50 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 1701
[09-Nov-2023 15:13: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 611
[09-Nov-2023 15:13: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 611
See also: All tests for this plugin, How to Hide the "ShortPixel AI" Admin Menu