LWS Optimize 3.2.4.1

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

Summary

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

Memory usage: 54.18 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.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=58e73dbd71
Aspect after-activation
HTTP status 200
Load time 0.338 s
Memory usage 3.56 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.838 s
Memory usage 3.93 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.213 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.481 s0.295 s-0.186 s3.48 MiB3.55 MiB+ 69.34 KiB
/wp-admin/edit.php0.216 s0.195 s-0.021 s3.54 MiB3.61 MiB+ 65.82 KiB
/wp-admin/post-new.php0.864 s1.200 s+0.336 s5.93 MiB6 MiB+ 74.39 KiB
/wp-admin/upload.php0.630 s0.404 s-0.226 s3.5 MiB3.54 MiB+ 48.41 KiB
/wp-admin/options-writing.php0.252 s0.375 s+0.123 s3.47 MiB3.52 MiB+ 52.41 KiB
/wp-admin/media-new.php0.298 s0.295 s-0.003 s3.46 MiB3.52 MiB+ 60.6 KiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.225 s+0.011 s3.48 MiB3.55 MiB+ 71.27 KiB
/wp-admin/post-new.php?post_type=page1.102 s0.816 s-0.286 s5.92 MiB5.99 MiB+ 69.91 KiB
/wp-admin/options-discussion.php0.295 s0.245 s-0.050 s3.47 MiB3.52 MiB+ 48.91 KiB
/wp-admin/edit-comments.php0.529 s0.228 s-0.301 s3.49 MiB3.54 MiB+ 48.41 KiB
/0.335 s0.259 s-0.076 s3.47 MiB3.46 MiB- 13.48 KiB
Average 0.474 s0.412 s-0.062 s3.93 MiB3.98 MiB+ 54.18 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.2%8,8513,96120
CSS23.3%3,7991263
SVG14.2%2,32199112
PO File7.4%1,2021581
JavaScript0.8%13112
JSON0.1%1601
Total 16,320 4,345 139

PHP Code Analysis | More results »

Lines of code 7,340
Total complexity 1,393
Median class complexity 80.0
Median method complexity 5.0
Most complex class Lws\Classes\LwsOptimize
Most complex function Lws\Classes\LwsOptimize::__construct()
Classes 10
Methods 163
Functions 24

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 4

PHP Error Log 3 lines

[17-Mar-2025 09:08:34 UTC] {"code":"NOT_ACTIVATED","data":[]}
[17-Mar-2025 09:08:34 UTC] {"code":"NOT_REMOVED","data":"[0] - []"}
[17-Mar-2025 09:08:34 UTC] {"code":"NOT_REMOVED","data":"[0] - []"}
See also: All tests for this plugin, How to Hide the "LWS Optimize" Admin Menu