WP Scripts & Styles Optimizer 0.4.5

Does WP Scripts & Styles Optimizer work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
71PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 229.5 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 800+
WordPress.org page https://wordpress.org/plugins/wp-script-optimizer/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=wp-script-optimizer%2Fwp-script-optimizer.php&plugin_status=all&paged=1&s&_wpnonce=f7239a7273
Aspect after-activation
HTTP status 200
Load time 0.405 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

WP Scripts & Styles Optimizer

Page screenshot: WP Scripts & Styles Optimizer
URL /wp-admin/admin.php?page=wpso_global&qs=Z2xvYmFs
Requested URL /wp-admin/admin.php?page=wpso_global
Aspect menu-item
HTTP status 200
Load time 0.360 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

WP Scripts & Styles Optimizer →   Footer (0)

Page screenshot: WP Scripts & Styles Optimizer → 
										  Footer (0)
URL /wp-admin/admin.php?page=wpso_global&qs=Z2xvYmFs
Aspect menu-item-tab
HTTP status 200
Load time 0.229 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

WP Scripts & Styles Optimizer → Single pages

Page screenshot: WP Scripts & Styles Optimizer → Single pages
URL /wp-admin/admin.php?page=wpso_single
Aspect menu-item
HTTP status 200
Load time 0.240 s
Memory usage 3.67 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.181 s
Memory usage 4.14 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.342 s0.279 s-0.063 s3.51 MiB3.69 MiB+ 184.94 KiB
/wp-admin/edit.php0.200 s0.183 s-0.017 s3.57 MiB3.75 MiB+ 186.03 KiB
/wp-admin/post-new.php0.801 s0.658 s-0.143 s6.06 MiB6.25 MiB+ 189.27 KiB
/wp-admin/upload.php0.633 s0.480 s-0.153 s3.52 MiB3.69 MiB+ 169.25 KiB
/wp-admin/options-writing.php0.221 s0.215 s-0.006 s3.5 MiB3.67 MiB+ 172.62 KiB
/wp-admin/media-new.php0.340 s0.243 s-0.097 s3.49 MiB3.67 MiB+ 180.81 KiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.199 s-0.015 s3.5 MiB3.69 MiB+ 191.48 KiB
/wp-admin/post-new.php?post_type=page0.625 s0.607 s-0.018 s6.05 MiB6.23 MiB+ 184.8 KiB
/wp-admin/options-discussion.php0.444 s0.286 s-0.158 s3.5 MiB3.67 MiB+ 169.12 KiB
/wp-admin/edit-comments.php0.222 s0.208 s-0.014 s3.52 MiB3.69 MiB+ 168.62 KiB
/0.501 s0.414 s-0.087 s3.43 MiB4.14 MiB+ 727.6 KiB
Average 0.413 s0.343 s-0.070 s3.97 MiB4.19 MiB+ 229.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
SVG
JavaScript
PO File
Language % Lines of code Comment lines Files
PHP55.3%2,1605526
SVG17.5%68501
JavaScript11.6%45332
PO File9.4%3662341
CSS6.2%24371
Total 3,907 796 11

PHP Code Analysis | More results »

Lines of code 1,869
Total complexity 309
Median class complexity 78.0
Median method complexity 3.0
Most complex class Wpso
Most complex function WpsoList::process_actions()
Classes 4
Methods 65
Functions 0

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.

Database Tables 1

Options wp_options 10

PHP Error Log 71 lines

[04-May-2025 07:07:32 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:32 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined array key "wpso_tab_sc_Z2xvYmFs" in /wp-content/plugins/wp-script-optimizer/templates/admin_page_global.php on line 31
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 97
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 129
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 97
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 129
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined variable $active_scripts_tab_footer in /wp-content/plugins/wp-script-optimizer/templates/admin_page_global.php on line 55
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined variable $hidden_scripts_tab_content_header in /wp-content/plugins/wp-script-optimizer/templates/admin_page_global.php on line 61
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined array key "wpso_tab_st_Z2xvYmFs" in /wp-content/plugins/wp-script-optimizer/templates/admin_page_global.php on line 86
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 97
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 129
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 97
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 129
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined variable $active_styles_tab_footer in /wp-content/plugins/wp-script-optimizer/templates/admin_page_global.php on line 110
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined variable $hidden_styles_tab_content_header in /wp-content/plugins/wp-script-optimizer/templates/admin_page_global.php on line 116
[04-May-2025 07:07:33 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined array key "wpso_tab_sc_Z2xvYmFs" in /wp-content/plugins/wp-script-optimizer/templates/admin_page_global.php on line 31
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 97
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 129
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 97
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 129
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined variable $active_scripts_tab_footer in /wp-content/plugins/wp-script-optimizer/templates/admin_page_global.php on line 55
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined variable $hidden_scripts_tab_content_header in /wp-content/plugins/wp-script-optimizer/templates/admin_page_global.php on line 61
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined array key "wpso_tab_st_Z2xvYmFs" in /wp-content/plugins/wp-script-optimizer/templates/admin_page_global.php on line 86
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 97
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 129
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 97
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/wp-script-optimizer/classes/list.class.php on line 129
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined variable $active_styles_tab_footer in /wp-content/plugins/wp-script-optimizer/templates/admin_page_global.php on line 110
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined variable $hidden_styles_tab_content_header in /wp-content/plugins/wp-script-optimizer/templates/admin_page_global.php on line 116
[04-May-2025 07:07:34 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:35 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:35 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:36 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:37 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:37 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:37 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:37 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:38 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:38 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:39 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:39 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:39 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:39 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:39 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:39 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:39 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:40 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:40 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:40 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:40 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:40 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:41 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:41 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:42 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:42 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:42 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:42 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:42 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:42 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:42 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:43 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:43 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:43 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:43 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:43 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:44 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:44 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
[04-May-2025 07:07:44 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
See also: All tests for this plugin, How to Hide WP Scripts & Styles Optimizer Admin Menus