LWS Optimize 3.2.2.0

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

Summary

Errors
2PHP warnings
2PHP deprecation warnings
2Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 41.98 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.7.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/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=dd51136f4b
Aspect after-activation
HTTP status 200
Load time 0.327 s
Memory usage 3.55 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 0.785 s
Memory usage 3.91 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.201 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.322 s0.308 s-0.014 s3.48 MiB3.54 MiB+ 57.54 KiB
/wp-admin/edit.php0.208 s0.193 s-0.015 s3.54 MiB3.6 MiB+ 53.99 KiB
/wp-admin/post-new.php0.779 s0.626 s-0.153 s5.92 MiB5.99 MiB+ 62.59 KiB
/wp-admin/upload.php0.565 s0.294 s-0.271 s3.49 MiB3.53 MiB+ 36.59 KiB
/wp-admin/options-writing.php0.218 s0.311 s+0.093 s3.47 MiB3.51 MiB+ 40.58 KiB
/wp-admin/media-new.php0.357 s0.259 s-0.098 s3.46 MiB3.51 MiB+ 48.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.204 s+0.012 s3.48 MiB3.53 MiB+ 59.57 KiB
/wp-admin/post-new.php?post_type=page0.554 s0.611 s+0.057 s5.92 MiB5.98 MiB+ 58.24 KiB
/wp-admin/options-discussion.php0.268 s0.255 s-0.013 s3.47 MiB3.51 MiB+ 37.08 KiB
/wp-admin/edit-comments.php0.213 s0.213 s+0.000 s3.49 MiB3.53 MiB+ 36.58 KiB
/0.309 s0.199 s-0.110 s3.48 MiB3.45 MiB- 29.8 KiB
Average 0.362 s0.316 s-0.047 s3.93 MiB3.97 MiB+ 41.98 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
PHP54.1%8,7973,68820
CSS23.4%3,7991263
SVG14.3%2,32199112
PO File7.4%1,2021581
JavaScript0.8%13112
JSON0.1%1601
Total 16,266 4,072 139

PHP Code Analysis | More results »

Lines of code 7,117
Total complexity 1,345
Median class complexity 80.0
Median method complexity 6.0
Most complex class Lws\Classes\LwsOptimize
Most complex function Lws\Classes\FileCache\LwsOptimizeFileCache::callback()
Classes 10
Methods 161
Functions 25

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 3

PHP Error Log 6 lines

[06-Jan-2025 13:52:17 UTC] {"code":"NOT_REMOVED","data":"[2] - []"}
[06-Jan-2025 13:52:17 UTC] PHP Warning:  Undefined array key "path" in /wp-content/plugins/lws-optimize/Classes/LwsOptimize.php on line 891
[06-Jan-2025 13:52:17 UTC] PHP Deprecated:  rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/lws-optimize/Classes/LwsOptimize.php on line 958
[06-Jan-2025 13:52:17 UTC] PHP Warning:  Undefined array key "path" in /wp-content/plugins/lws-optimize/Classes/LwsOptimize.php on line 891
[06-Jan-2025 13:52:17 UTC] PHP Deprecated:  rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/lws-optimize/Classes/LwsOptimize.php on line 958
[06-Jan-2025 13:52:17 UTC] {"code":"NOT_REMOVED","data":"[2] - []"}
See also: All tests for this plugin, How to Hide the "LWS Optimize" Admin Menu