LWS Optimize 3.2.0.6

Does LWS Optimize work with WordPress 6.6.2 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: 387.5 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

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=e574865c23
Aspect after-activation
HTTP status 200
Load time 0.342 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.802 s
Memory usage 3.97 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.247 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.328 s0.327 s-0.001 s3.47 MiB3.67 MiB+ 202.14 KiB
/wp-admin/edit.php0.201 s0.235 s+0.034 s3.54 MiB3.73 MiB+ 200.31 KiB
/wp-admin/post-new.php0.722 s0.938 s+0.216 s5.75 MiB5.98 MiB+ 233.28 KiB
/wp-admin/upload.php0.520 s2.094 s+1.574 s3.49 MiB4.23 MiB+ 755.77 KiB
/wp-admin/options-writing.php0.186 s0.312 s+0.126 s3.41 MiB3.66 MiB+ 259.61 KiB
/wp-admin/media-new.php0.347 s0.236 s-0.111 s3.4 MiB3.65 MiB+ 264.79 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.226 s+0.049 s3.47 MiB3.7 MiB+ 231.75 KiB
/wp-admin/post-new.php?post_type=page0.562 s0.877 s+0.315 s5.75 MiB6.41 MiB+ 680.5 KiB
/wp-admin/options-discussion.php0.229 s1.735 s+1.506 s3.41 MiB3.82 MiB+ 424.59 KiB
/wp-admin/edit-comments.php0.223 s0.226 s+0.003 s3.49 MiB4.29 MiB+ 823.35 KiB
/0.295 s0.199 s-0.096 s3.4 MiB3.58 MiB+ 186.43 KiB
Average 0.345 s0.673 s+0.329 s3.87 MiB4.25 MiB+ 387.5 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,9773,32420
CSS23.2%3,4531203
SVG15.5%2,30298110
PO File6.8%1,0201581
JavaScript0.9%13112
JSON0.1%1601
Total 14,899 3,701 137

PHP Code Analysis | More results »

Lines of code 6,189
Total complexity 1,202
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

[08-Nov-2024 14:54: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 6085
[08-Nov-2024 14:54: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
[08-Nov-2024 14:54: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
[08-Nov-2024 14:54: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
[08-Nov-2024 14:54:37 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
[08-Nov-2024 14:54:38 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
[08-Nov-2024 14:54:38 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
[08-Nov-2024 14:54:38 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"
        }
    }
}
[08-Nov-2024 14:54:38 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
[08-Nov-2024 14:54:38 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"
        }
    }
}
[08-Nov-2024 14:54:38 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"
        }
    }
}
[08-Nov-2024 14:54:38 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
[08-Nov-2024 14:54:38 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"
        }
    }
}
[08-Nov-2024 14:54: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 6085
[08-Nov-2024 14:54:43 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
[08-Nov-2024 14:54:44 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
[08-Nov-2024 14:54:44 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
[08-Nov-2024 14:54:44 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
[08-Nov-2024 14:54:44 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