LWS Optimize 3.3.10.5

Does LWS Optimize work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 217.72 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.8.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/lws-optimize/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=lws-optimize%2Flws-optimize.php&plugin_status=all&paged=1&s&_wpnonce=71c60654d4
Aspect after-activation
HTTP status 200
Load time 0.340 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

LWS Optimize

Page screenshot: LWS Optimize
URL /wp-admin/admin.php?page=lws-op-config
Aspect menu-item
HTTP status 200
Load time 1.084 s
Memory usage 4.03 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.351 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.313 s0.266 s-0.047 s3.51 MiB3.73 MiB+ 224.68 KiB
/wp-admin/edit.php0.205 s0.207 s+0.002 s3.57 MiB3.79 MiB+ 221.59 KiB
/wp-admin/post-new.php0.786 s0.649 s-0.137 s6.06 MiB6.28 MiB+ 224.6 KiB
/wp-admin/upload.php0.784 s0.392 s-0.392 s3.52 MiB3.72 MiB+ 204.18 KiB
/wp-admin/options-writing.php0.209 s0.216 s+0.007 s3.5 MiB3.7 MiB+ 208.17 KiB
/wp-admin/media-new.php0.271 s0.260 s-0.011 s3.49 MiB3.7 MiB+ 216.37 KiB
/wp-admin/edit-tags.php?taxonomy=category0.245 s0.418 s+0.173 s3.5 MiB3.73 MiB+ 227.04 KiB
/wp-admin/post-new.php?post_type=page0.656 s0.624 s-0.032 s6.05 MiB6.27 MiB+ 220.13 KiB
/wp-admin/options-discussion.php0.435 s0.434 s-0.001 s3.5 MiB3.7 MiB+ 204.67 KiB
/wp-admin/edit-comments.php0.207 s0.211 s+0.004 s3.52 MiB3.72 MiB+ 204.17 KiB
/0.317 s0.220 s-0.097 s3.43 MiB3.67 MiB+ 239.3 KiB
Average 0.403 s0.354 s-0.048 s3.97 MiB4.18 MiB+ 217.72 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
CSS
SVG
Language % Lines of code Comment lines Files
PHP63.4%14,6054,75728
CSS18.7%4,3111313
SVG10.5%2,421103118
PO File6.8%1,5561791
JavaScript0.6%13822
JSON0.1%1601
Total 23,047 5,172 153

PHP Code Analysis | More results »

Lines of code 9,468
Total complexity 1,909
Median class complexity 55.0
Median method complexity 5.0
Most complex class Lws\Classes\LwsOptimize
Most complex function Lws\Classes\FileCache\LwsOptimizeFileCache::callback()
Classes 15
Methods 201
Functions 23

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 5

PHP Error Log 32 lines

[25-Jul-2025 07:50:01 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:01 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:02 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:02 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:05 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:05 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:06 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:06 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:06 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:06 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:08 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:08 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:10 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:12 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:12 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:12 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:13 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:13 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[25-Jul-2025 07:50:13 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[25-Jul-2025 07:50:13 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
See also: All tests for this plugin, How to Hide the "LWS Optimize" Admin Menu