LWS Optimize 3.2.0.7

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

Summary

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

Memory usage: 400.98 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.163 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.7
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=fa58ef7860
Aspect after-activation
HTTP status 200
Load time 0.373 s
Memory usage 3.69 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.865 s
Memory usage 3.98 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.233 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.345 s0.347 s+0.002 s3.48 MiB3.68 MiB+ 201.95 KiB
/wp-admin/edit.php0.211 s0.271 s+0.060 s3.54 MiB3.74 MiB+ 200.45 KiB
/wp-admin/post-new.php0.782 s1.001 s+0.219 s5.92 MiB6.15 MiB+ 233.46 KiB
/wp-admin/upload.php0.592 s0.997 s+0.405 s3.49 MiB4.23 MiB+ 748.02 KiB
/wp-admin/options-writing.php0.225 s0.280 s+0.055 s3.47 MiB3.67 MiB+ 200.92 KiB
/wp-admin/media-new.php0.338 s0.258 s-0.080 s3.46 MiB3.66 MiB+ 200.92 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.245 s+0.040 s3.47 MiB3.7 MiB+ 231.88 KiB
/wp-admin/post-new.php?post_type=page0.577 s0.965 s+0.388 s5.92 MiB6.59 MiB+ 684.95 KiB
/wp-admin/options-discussion.php0.469 s1.289 s+0.820 s3.47 MiB4.22 MiB+ 768.92 KiB
/wp-admin/edit-comments.php0.243 s0.234 s-0.009 s3.49 MiB4.3 MiB+ 824.73 KiB
/0.308 s0.201 s-0.107 s3.48 MiB3.59 MiB+ 114.64 KiB
Average 0.390 s0.553 s+0.163 s3.93 MiB4.32 MiB+ 400.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
PHP53.5%7,9793,32420
CSS23.2%3,4531203
SVG15.4%2,30298110
PO File6.8%1,0201581
JavaScript0.9%13112
JSON0.1%1601
Total 14,901 3,701 137

PHP Code Analysis | More results »

Lines of code 6,191
Total complexity 1,203
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 155
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 166 lines

[13-Nov-2024 23:20: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 6114
[13-Nov-2024 23:20: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 6114
[13-Nov-2024 23:20: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 6114
[13-Nov-2024 23:20:34 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 6114
[13-Nov-2024 23:20: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 6114
[13-Nov-2024 23:20: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 6114
[13-Nov-2024 23:20: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 6114
[13-Nov-2024 23:20: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"
        }
    }
}
[13-Nov-2024 23:20: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 6114
[13-Nov-2024 23:20: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"
        }
    }
}
[13-Nov-2024 23:20: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"
        }
    }
}
[13-Nov-2024 23:20: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 6114
[13-Nov-2024 23:20: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"
        }
    }
}
[13-Nov-2024 23:20:40 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 6114
[13-Nov-2024 23:20:41 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 6114
[13-Nov-2024 23:20:41 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 6114
[13-Nov-2024 23:20:41 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 6114
[13-Nov-2024 23:20:42 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 6114
[13-Nov-2024 23:20:42 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": {

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