LWS Optimize 3.2.0.1

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

Summary

Errors
18PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 204.73 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.6.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=ada5138d63
Aspect after-activation
HTTP status 200
Load time 0.325 s
Memory usage 3.68 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.799 s
Memory usage 3.96 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.289 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.354 s0.318 s-0.036 s3.47 MiB3.67 MiB+ 201.48 KiB
/wp-admin/edit.php0.201 s0.225 s+0.024 s3.54 MiB3.73 MiB+ 197.32 KiB
/wp-admin/post-new.php0.749 s1.010 s+0.261 s5.75 MiB5.96 MiB+ 215.23 KiB
/wp-admin/upload.php0.642 s0.379 s-0.263 s3.49 MiB3.67 MiB+ 180.34 KiB
/wp-admin/options-writing.php0.194 s0.283 s+0.089 s3.41 MiB3.65 MiB+ 243.15 KiB
/wp-admin/media-new.php0.213 s0.227 s+0.014 s3.4 MiB3.65 MiB+ 256.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.389 s+0.207 s3.47 MiB3.67 MiB+ 203.2 KiB
/wp-admin/post-new.php?post_type=page0.980 s0.700 s-0.280 s5.75 MiB5.95 MiB+ 206.61 KiB
/wp-admin/options-discussion.php0.214 s0.285 s+0.071 s3.41 MiB3.65 MiB+ 244.84 KiB
/wp-admin/edit-comments.php0.254 s0.198 s-0.056 s3.49 MiB3.67 MiB+ 180.34 KiB
/0.326 s0.232 s-0.094 s3.45 MiB3.57 MiB+ 122.98 KiB
Average 0.392 s0.386 s-0.006 s3.88 MiB4.08 MiB+ 204.73 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.8%8,4463,37217
CSS23.6%3,6341223
SVG14.1%2,16990102
PO File6.6%1,0141581
JavaScript0.9%13112
JSON0.1%1101
Total 15,405 3,743 126

PHP Code Analysis | More results »

Lines of code 6,635
Total complexity 1,251
Median class complexity 85.0
Median method complexity 6.0
Most complex class LwsOptimize
Most complex function LwsOptimize::__construct()
Classes 7
Methods 133
Functions 54

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 18 lines

[31-Oct-2024 11:25:11 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:12 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:13 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:14 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:15 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:16 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:16 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:19 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:20 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:20 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:20 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:21 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:24 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:24 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:24 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:25 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:25 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
[31-Oct-2024 11:25:25 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 6085
See also: All tests for this plugin, How to Hide the "LWS Optimize" Admin Menu