Scripts n Styles 3.5.4

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

Summary

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

Memory usage: 66.88 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.2.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=6aff44fcce
Aspect after-activation
HTTP status 200
Load time 0.243 s
Memory usage 3.09 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.305 s
Memory usage 3.08 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.154 s
Memory usage 3.06 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.167 s
Memory usage 3.06 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.150 s
Memory usage 3.12 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.222 s
Memory usage 3 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

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

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.287 s0.243 s-0.044 s3.07 MiB3.14 MiB+ 72.48 KiB
/wp-admin/edit.php0.191 s0.245 s+0.054 s3.1 MiB3.18 MiB+ 85.03 KiB
/wp-admin/post-new.php0.730 s0.948 s+0.218 s5.02 MiB5.11 MiB+ 92.73 KiB
/wp-admin/upload.php0.534 s0.450 s-0.084 s3.02 MiB3.08 MiB+ 67.64 KiB
/wp-admin/options-writing.php0.170 s0.165 s-0.005 s3.01 MiB3.05 MiB+ 42.27 KiB
/wp-admin/media-new.php0.275 s0.201 s-0.074 s2.99 MiB3.06 MiB+ 67.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.230 s0.203 s-0.027 s3.01 MiB3.09 MiB+ 85.73 KiB
/wp-admin/post-new.php?post_type=page0.579 s0.644 s+0.065 s5.02 MiB5.1 MiB+ 89.13 KiB
/wp-admin/options-discussion.php0.206 s0.223 s+0.017 s3 MiB3.05 MiB+ 56 KiB
/wp-admin/edit-comments.php0.206 s0.314 s+0.108 s3.03 MiB3.08 MiB+ 55.5 KiB
/0.293 s0.226 s-0.067 s2.97 MiB2.99 MiB+ 21.52 KiB
Average 0.336 s0.351 s+0.015 s3.39 MiB3.45 MiB+ 66.88 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.7%2,13642912
JavaScript32.1%1,0441336
CSS2.2%7103
Total 3,251 562 21

PHP Code Analysis | More results »

Lines of code 2,129
Total complexity 532
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 9 lines

[30-May-2023 17:13:56 UTC] PHP Deprecated:  strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-admin/admin-header.php on line 36
[30-May-2023 17:13:56 UTC] PHP Deprecated:  strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-admin/admin-header.php on line 36
[30-May-2023 17:13:57 UTC] PHP Deprecated:  strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-admin/admin-header.php on line 36
[30-May-2023 17:13:59 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /wp-includes/functions.php on line 5788
[30-May-2023 17:14:00 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /wp-includes/functions.php on line 5788
[30-May-2023 17:14:03 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /wp-includes/functions.php on line 5788
[30-May-2023 17:14:04 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /wp-includes/functions.php on line 5788
[30-May-2023 17:14:04 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /wp-includes/functions.php on line 5788
[30-May-2023 17:14:08 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /wp-includes/functions.php on line 5788
See also: All tests for this plugin, How to Hide Scripts n Styles Admin Menus and Meta Boxes