Does LWS Optimize work with WordPress 6.8.3 and PHP 8.1.12? A smoke test was performed on .
| 32 | PHP deprecation warnings |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
Memory usage: 248.31 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.
| WordPress version | 6.8.3 |
|---|---|
| PHP version | 8.1.12 |
| MySQL version | 10.6.10 |
| PHP memory limit | 512M |
| Last updated | |
|---|---|
| Active installs | 10,000+ |
| WordPress.org page | https://wordpress.org/plugins/lws-optimize/ |
| Badges |
|
| 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=a04d9a5c22 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.341 s |
| Memory usage | 3.78 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/admin.php?page=lws-op-config |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.962 s |
| Memory usage | 4.05 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.345 s |
| Memory usage | 3.72 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.412 s | 0.322 s | -0.090 s | 3.51 MiB | 3.75 MiB | + 252.53 KiB |
| /wp-admin/edit.php | 0.216 s | 0.209 s | -0.007 s | 3.57 MiB | 3.82 MiB | + 249.44 KiB |
| /wp-admin/post-new.php | 0.864 s | 0.665 s | -0.199 s | 6.06 MiB | 6.31 MiB | + 252.45 KiB |
| /wp-admin/upload.php | 0.868 s | 0.667 s | -0.201 s | 3.52 MiB | 3.75 MiB | + 232.03 KiB |
| /wp-admin/options-writing.php | 0.251 s | 0.221 s | -0.030 s | 3.5 MiB | 3.73 MiB | + 236.02 KiB |
| /wp-admin/media-new.php | 0.290 s | 0.267 s | -0.023 s | 3.49 MiB | 3.73 MiB | + 244.22 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.218 s | 0.218 s | +0.000 s | 3.5 MiB | 3.75 MiB | + 254.89 KiB |
| /wp-admin/post-new.php?post_type=page | 0.778 s | 0.662 s | -0.116 s | 6.05 MiB | 6.29 MiB | + 247.98 KiB |
| /wp-admin/options-discussion.php | 0.334 s | 0.259 s | -0.075 s | 3.5 MiB | 3.73 MiB | + 232.52 KiB |
| /wp-admin/edit-comments.php | 0.431 s | 0.199 s | -0.232 s | 3.52 MiB | 3.75 MiB | + 232.02 KiB |
| / | 0.379 s | 0.209 s | -0.170 s | 3.43 MiB | 3.72 MiB | + 297.26 KiB |
| Average | 0.458 s | 0.354 s | -0.104 s | 3.97 MiB | 4.21 MiB | + 248.31 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| PHP | 63.4% | 15,016 | 4,674 | 30 | |
| CSS | 19.1% | 4,522 | 140 | 3 | |
| SVG | 10.2% | 2,421 | 103 | 118 | |
| PO File | 6.6% | 1,562 | 179 | 1 | |
| JavaScript | 0.6% | 138 | 2 | 2 | |
| JSON | 0.1% | 16 | 0 | 1 | |
| Total | 23,675 | 5,098 | 155 | ||
| Lines of code | 9,539 |
|---|---|
| Total complexity | 1,911 |
| Median class complexity | 78.0 |
| Median method complexity | 5.0 |
| Most complex class | Lws\Classes\LwsOptimize |
| Most complex function | Lws\Classes\FileCache\LwsOptimizeFileCache::callback() |
| Classes | 15 |
|---|---|
| Methods | 203 |
| Functions | 21 |
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.
wp_options 5[01-Oct-2025 16:16:10 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:10 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:10 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:10 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:11 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:11 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:14 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:14 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:14 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:14 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:14 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:14 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:17 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:17 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:17 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:17 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:18 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:18 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:18 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:18 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:18 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:18 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:21 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:21 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:21 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:21 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:21 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:21 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:22 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:22 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[01-Oct-2025 16:16:22 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:22 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195