ShortPixel Adaptive Images 3.7.1

Does ShortPixel Adaptive Images work with WordPress 6.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.49 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
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=0facb9efdf
Aspect after-activation
HTTP status 200
Load time 0.696 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.733 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.487 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.336 s0.416 s+0.080 s3.07 MiB3.18 MiB+ 115.23 KiB
/wp-admin/edit.php0.210 s0.181 s-0.029 s3.1 MiB3.27 MiB+ 179.63 KiB
/wp-admin/post-new.php0.764 s0.895 s+0.131 s5.02 MiB5.12 MiB+ 105.65 KiB
/wp-admin/upload.php0.543 s0.278 s-0.265 s3.02 MiB3.11 MiB+ 96.88 KiB
/wp-admin/options-writing.php0.154 s0.146 s-0.008 s3.01 MiB3.1 MiB+ 86.44 KiB
/wp-admin/media-new.php0.287 s0.242 s-0.045 s2.99 MiB3.1 MiB+ 110.97 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.185 s+0.006 s3.01 MiB3.12 MiB+ 114.65 KiB
/wp-admin/post-new.php?post_type=page0.596 s0.722 s+0.126 s5.01 MiB5.11 MiB+ 101.27 KiB
/wp-admin/options-discussion.php0.211 s0.295 s+0.084 s3 MiB3.1 MiB+ 100.48 KiB
/wp-admin/edit-comments.php0.192 s0.202 s+0.010 s3.03 MiB3.12 MiB+ 98.26 KiB
/0.300 s0.278 s-0.022 s2.97 MiB3.14 MiB+ 171.89 KiB
Average 0.343 s0.349 s+0.006 s3.38 MiB3.5 MiB+ 116.49 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,9423,20716
PHP33.5%11,1923,19754
CSS8.3%2,7731082
SVG1.6%533414
HTML0.0%801
Total 33,448 6,516 87

PHP Code Analysis | More results »

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

[21-Apr-2023 05:00:27 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 1679
[21-Apr-2023 05:00:27 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 1681
[21-Apr-2023 05:00:27 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 1682
[21-Apr-2023 05:00:27 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 1683
[21-Apr-2023 05:00:27 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 1684
[21-Apr-2023 05:00:27 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 1685
[21-Apr-2023 05:00:27 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
[21-Apr-2023 05:00:27 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