Scripts n Styles 3.5.8

Does Scripts n Styles work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
12PHP warnings
13PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 82.86 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30,000+
WordPress.org page https://wordpress.org/plugins/scripts-n-styles/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=scripts-n-styles%2Fscripts-n-styles.php&plugin_status=all&paged=1&s&_wpnonce=51a579a430
Aspect after-activation
HTTP status 200
Load time 0.315 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Tools → Scripts n Styles

Page screenshot: Tools → Scripts n Styles
URL /wp-admin/tools.php?page=sns
Aspect menu-item
HTTP status 200
Load time 0.465 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Tools → Scripts n Styles → Hoops

Page screenshot: Tools → Scripts n Styles → Hoops
URL /wp-admin/tools.php?page=sns_hoops
Aspect menu-item-tab
HTTP status 200
Load time 0.177 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Tools → Scripts n Styles → Settings

Page screenshot: Tools → Scripts n Styles → Settings
URL /wp-admin/tools.php?page=sns_settings
Aspect menu-item-tab
HTTP status 200
Load time 0.182 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Tools → Scripts n Styles → Usage

Page screenshot: Tools → Scripts n Styles → Usage
URL /wp-admin/tools.php?page=sns_usage
Aspect menu-item-tab
HTTP status 200
Load time 0.161 s
Memory usage 3.59 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.173 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Add Post ‹ Test site — WordPress

Page screenshot: Add Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.645 s
Memory usage 6.17 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.347 s0.302 s-0.045 s3.51 MiB3.61 MiB+ 102.73 KiB
/wp-admin/edit.php0.212 s0.230 s+0.018 s3.57 MiB3.68 MiB+ 113.32 KiB
/wp-admin/post-new.php0.807 s0.980 s+0.173 s6.06 MiB6.17 MiB+ 111.25 KiB
/wp-admin/upload.php0.578 s0.565 s-0.013 s3.52 MiB3.62 MiB+ 95.67 KiB
/wp-admin/options-writing.php0.221 s0.197 s-0.024 s3.5 MiB3.57 MiB+ 69.02 KiB
/wp-admin/media-new.php0.261 s0.219 s-0.042 s3.49 MiB3.57 MiB+ 77.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.256 s0.227 s-0.029 s3.5 MiB3.62 MiB+ 119.27 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.627 s+0.021 s6.05 MiB6.16 MiB+ 111.7 KiB
/wp-admin/options-discussion.php0.483 s0.341 s-0.142 s3.5 MiB3.57 MiB+ 65.46 KiB
/wp-admin/edit-comments.php0.250 s0.212 s-0.038 s3.52 MiB3.61 MiB+ 84.96 KiB
/0.313 s0.209 s-0.104 s3.5 MiB3.46 MiB- 39.11 KiB
Average 0.394 s0.374 s-0.020 s3.98 MiB4.06 MiB+ 82.86 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
JavaScript
Language % Lines of code Comment lines Files
PHP65.8%2,14743012
JavaScript32.0%1,0441336
CSS2.2%7103
Total 3,262 563 21

PHP Code Analysis | More results »

Lines of code 2,140
Total complexity 536
Median class complexity 30.0
Median method complexity 3.0
Most complex class SnS_AJAX
Most complex function SnS_Admin_Meta_Box::admin_meta_box()
Classes 12
Methods 100
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.

Options wp_options 1

User Metadata wp_usermeta 1

Meta Boxes

{
    "post": {
        "SnS_meta_box": {
            "title": "Scripts n Styles",
            "context": "normal"
        }
    },
    "attachment": {
        "SnS_meta_box": {
            "title": "Scripts n Styles",
            "context": "normal"
        }
    },
    "page": {
        "SnS_meta_box": {
            "title": "Scripts n Styles",
            "context": "normal"
        }
    }
}

PHP Error Log 25 lines

[16-Jul-2025 02:15:22 UTC] PHP Deprecated:  strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-admin/admin-header.php on line 41
[16-Jul-2025 02:15:23 UTC] PHP Deprecated:  strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-admin/admin-header.php on line 41
[16-Jul-2025 02:15:24 UTC] PHP Deprecated:  strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-admin/admin-header.php on line 41
[16-Jul-2025 02:15:26 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[16-Jul-2025 02:15:26 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[16-Jul-2025 02:15:29 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[16-Jul-2025 02:15:29 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[16-Jul-2025 02:15:29 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[16-Jul-2025 02:15:29 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[16-Jul-2025 02:15:29 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 718
[16-Jul-2025 02:15:29 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 718
[16-Jul-2025 02:15:29 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 728
[16-Jul-2025 02:15:29 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 731
[16-Jul-2025 02:15:29 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 752
[16-Jul-2025 02:15:29 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[16-Jul-2025 02:15:29 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[16-Jul-2025 02:15:29 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 718
[16-Jul-2025 02:15:29 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 718
[16-Jul-2025 02:15:29 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 728
[16-Jul-2025 02:15:29 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 731
[16-Jul-2025 02:15:29 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 752
[16-Jul-2025 02:15:31 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[16-Jul-2025 02:15:32 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[16-Jul-2025 02:15:32 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[16-Jul-2025 02:15:37 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
See also: All tests for this plugin, How to Hide Scripts n Styles Admin Menus and Meta Boxes