Smush 3.13.1

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

Summary

Errors
12PHP warnings
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 502.09 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.035 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000,000+
WordPress.org page https://wordpress.org/plugins/wp-smushit/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 12

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-smushit%2Fwp-smush.php&plugin_status=all&paged=1&s&_wpnonce=069772cbe1
Aspect after-activation
HTTP status 200
Load time 0.619 s
Memory usage 3.93 MiB
JS errors None
Resource errors None

Smush

Page screenshot: Smush
URL /wp-admin/admin.php?page=smush
Aspect menu-item
HTTP status 200
Load time 0.748 s
Memory usage 3.94 MiB
JS errors None
Resource errors None

Smush → Bulk Smush

Page screenshot: Smush → Bulk Smush
URL /wp-admin/admin.php?page=smush-bulk
Aspect menu-item
HTTP status 200
Load time 0.394 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Smush → Directory Smush

Page screenshot: Smush → Directory Smush
URL /wp-admin/admin.php?page=smush-directory
Aspect menu-item
HTTP status 200
Load time 0.254 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Smush → Lazy Load

Page screenshot: Smush → Lazy Load
URL /wp-admin/admin.php?page=smush-lazy-load
Aspect menu-item
HTTP status 200
Load time 0.340 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Smush → CDN

Page screenshot: Smush → CDN
URL /wp-admin/admin.php?page=smush-cdn
Aspect menu-item
HTTP status 200
Load time 0.263 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Smush → Local WebP

Page screenshot: Smush → Local WebP
URL /wp-admin/admin.php?page=smush-webp
Aspect menu-item
HTTP status 200
Load time 0.345 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

Smush → Integrations

Page screenshot: Smush → Integrations
URL /wp-admin/admin.php?page=smush-integrations
Aspect menu-item
HTTP status 200
Load time 0.286 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Smush → Settings

Page screenshot: Smush → Settings
URL /wp-admin/admin.php?page=smush-settings
Aspect menu-item
HTTP status 200
Load time 0.262 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Smush → Tutorials

Page screenshot: Smush → Tutorials
URL /wp-admin/admin.php?page=smush-tutorials
Aspect menu-item
HTTP status 200
Load time 0.323 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Smush → Smush Pro

Page screenshot: Smush → Smush Pro
URL /wp-admin/admin.php?page=smush-upgrade
Aspect menu-item
HTTP status 200
Load time 0.482 s
Memory usage 3.58 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.230 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.282 s0.418 s+0.136 s3.07 MiB3.58 MiB+ 525.02 KiB
/wp-admin/edit.php0.186 s0.223 s+0.037 s3.1 MiB3.64 MiB+ 555.2 KiB
/wp-admin/post-new.php0.725 s1.015 s+0.290 s5.02 MiB5.54 MiB+ 534.7 KiB
/wp-admin/upload.php0.551 s0.327 s-0.224 s3.02 MiB3.52 MiB+ 512.19 KiB
/wp-admin/options-writing.php0.163 s0.187 s+0.024 s3.01 MiB3.47 MiB+ 464.85 KiB
/wp-admin/media-new.php0.296 s0.390 s+0.094 s2.99 MiB3.49 MiB+ 506.96 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.218 s+0.029 s3.01 MiB3.52 MiB+ 530.09 KiB
/wp-admin/post-new.php?post_type=page0.572 s0.672 s+0.100 s5.01 MiB5.53 MiB+ 530.29 KiB
/wp-admin/options-discussion.php0.204 s0.227 s+0.023 s3 MiB3.48 MiB+ 495.98 KiB
/wp-admin/edit-comments.php0.207 s0.200 s-0.007 s3.03 MiB3.53 MiB+ 512.4 KiB
/0.323 s0.201 s-0.122 s3.03 MiB3.38 MiB+ 355.3 KiB
Average 0.336 s0.371 s+0.035 s3.39 MiB3.88 MiB+ 502.09 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.

PHP
JavaScript
Language % Lines of code Comment lines Files
PHP73.7%28,48112,848207
JavaScript15.3%5,9251,36942
Sass7.1%2,7475010
JSX2.5%972556
SVG1.3%49923
Total 38,624 14,324 268

PHP Code Analysis | More results »

Lines of code 23,609
Total complexity 5,774
Median class complexity 19.0
Median method complexity 2.0
Most complex class Smush\Core\Modules\Smush
Most complex function Smush\Core\Modules\Smush::smushit()
Classes 131
Methods 1,866
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.

Database Tables 1

Options wp_options 10

PHP Error Log 16 lines

[14-Jun-2023 10:17:35 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[14-Jun-2023 10:17:35 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[14-Jun-2023 10:17:35 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 689
[14-Jun-2023 10:17:35 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 689
[14-Jun-2023 10:17:35 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 690
[14-Jun-2023 10:17:35 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 690
[14-Jun-2023 10:17:35 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 698
[14-Jun-2023 10:17:35 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 701
[14-Jun-2023 10:17:35 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 722
[14-Jun-2023 10:17:35 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 689
[14-Jun-2023 10:17:35 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 689
[14-Jun-2023 10:17:35 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 690
[14-Jun-2023 10:17:35 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 690
[14-Jun-2023 10:17:35 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 698
[14-Jun-2023 10:17:35 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 701
[14-Jun-2023 10:17:35 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 722
See also: All tests for this plugin, How to Hide Smush Admin Menus