LWS Optimize 3.2.0.5

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

Summary

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

Memory usage: 198.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=b3db9889aa
Aspect after-activation
HTTP status 200
Load time 0.350 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.739 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.232 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.299 s0.328 s+0.029 s3.47 MiB3.67 MiB+ 197.91 KiB
/wp-admin/edit.php0.192 s0.244 s+0.052 s3.54 MiB3.73 MiB+ 196.46 KiB
/wp-admin/post-new.php0.712 s0.602 s-0.110 s5.75 MiB5.96 MiB+ 212.03 KiB
/wp-admin/upload.php0.539 s0.394 s-0.145 s3.49 MiB3.66 MiB+ 179.45 KiB
/wp-admin/options-writing.php0.188 s0.273 s+0.085 s3.41 MiB3.65 MiB+ 242.26 KiB
/wp-admin/media-new.php0.207 s0.424 s+0.217 s3.4 MiB3.65 MiB+ 255.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.219 s+0.034 s3.47 MiB3.67 MiB+ 202.31 KiB
/wp-admin/post-new.php?post_type=page0.580 s0.548 s-0.032 s5.75 MiB5.95 MiB+ 207.33 KiB
/wp-admin/options-discussion.php0.209 s0.282 s+0.073 s3.41 MiB3.65 MiB+ 243.95 KiB
/wp-admin/edit-comments.php0.236 s0.214 s-0.022 s3.49 MiB3.66 MiB+ 179.45 KiB
/0.277 s0.184 s-0.093 s3.45 MiB3.52 MiB+ 69.2 KiB
Average 0.329 s0.337 s+0.008 s3.88 MiB4.07 MiB+ 198.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
PHP53.7%7,8833,31220
CSS23.5%3,4511203
SVG14.8%2,16990102
PO File6.9%1,0181581
JavaScript0.9%13112
JSON0.1%1601
Total 14,668 3,681 129

PHP Code Analysis | More results »

Lines of code 6,100
Total complexity 1,189
Median class complexity 83.5
Median method complexity 5.0
Most complex class Lws\Classes\LwsOptimize
Most complex function Lws\Classes\LwsOptimize::__construct()
Classes 10
Methods 151
Functions 20

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 2

PHP Error Log 162 lines

[07-Nov-2024 07:21:28 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
[07-Nov-2024 07:21:29 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
[07-Nov-2024 07:21:29 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
[07-Nov-2024 07:21:30 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
[07-Nov-2024 07:21:31 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
[07-Nov-2024 07:21:32 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
[07-Nov-2024 07:21:32 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
[07-Nov-2024 07:21:32 UTC] {
    "code": "NO_PARAM",
    "data": {
        "filebased_cache": {
            "state": "true",
            "preload": "true",
            "preload_amount": "5",
            "preload_done": 0,
            "preload_ongoing": "true"
        },
        "autopurge": {
            "state": "true"
        },
        "cache_logged_user": {
            "state": "true"
        }
    }
}
[07-Nov-2024 07:21:32 UTC] {
    "code": "NO_PARAM",
    "data": {
        "filebased_cache": {
            "state": "true",
            "preload": "true",
            "preload_amount": "5",
            "preload_done": 0,
            "preload_ongoing": "true"
        },
        "autopurge": {
            "state": "true"
        },
        "cache_logged_user": {
            "state": "true"
        }
    }
}
[07-Nov-2024 07:21:32 UTC] {
    "code": "NO_PARAM",
    "data": {
        "filebased_cache": {
            "state": "true",
            "preload": "true",
            "preload_amount": "5",
            "preload_done": 0,
            "preload_ongoing": "true"
        },
        "autopurge": {
            "state": "true"
        },
        "cache_logged_user": {
            "state": "true"
        }
    }
}
[07-Nov-2024 07:21:32 UTC] {
    "code": "NO_PARAM",
    "data": {
        "filebased_cache": {
            "state": "true",
            "preload": "true",
            "preload_amount": "5",
            "preload_done": 0,
            "preload_ongoing": "true"
        },
        "autopurge": {
            "state": "true"
        },
        "cache_logged_user": {
            "state": "true"
        }
    }
}
[07-Nov-2024 07:21:35 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
[07-Nov-2024 07:21:35 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
[07-Nov-2024 07:21:36 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
[07-Nov-2024 07:21:36 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
[07-Nov-2024 07:21:36 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
[07-Nov-2024 07:21:36 UTC] {
    "code": "NO_PARAM",
    "data": {
        "filebased_cache": {
            "state": "true",
            "preload": "true",
            "preload_amount": "5",
            "preload_done": 0,
            "preload_ongoing": "true"
        },
        "autopurge": {
            "state": "true"
        },
        "cache_logged_user": {
            "state": "true"
        }

(+62 more lines)
See also: All tests for this plugin, How to Hide the "LWS Optimize" Admin Menu