Scripts n Styles 3.5.8

Does Scripts n Styles work with WordPress 6.6.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: 103.61 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.6.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=426567f351
Aspect after-activation
HTTP status 200
Load time 0.293 s
Memory usage 3.56 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.472 s
Memory usage 3.55 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.205 s
Memory usage 3.54 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.196 s
Memory usage 3.55 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.186 s
Memory usage 3.54 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.212 s
Memory usage 3.43 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.880 s
Memory usage 5.9 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.391 s0.355 s-0.036 s3.47 MiB3.55 MiB+ 82.06 KiB
/wp-admin/edit.php0.297 s0.551 s+0.254 s3.54 MiB3.63 MiB+ 93.02 KiB
/wp-admin/post-new.php0.821 s0.714 s-0.107 s5.75 MiB5.9 MiB+ 152.36 KiB
/wp-admin/upload.php0.677 s0.506 s-0.171 s3.49 MiB3.56 MiB+ 75.31 KiB
/wp-admin/options-writing.php0.257 s0.205 s-0.052 s3.41 MiB3.53 MiB+ 127.47 KiB
/wp-admin/media-new.php0.254 s0.259 s+0.005 s3.4 MiB3.53 MiB+ 140.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.228 s0.231 s+0.003 s3.47 MiB3.57 MiB+ 98.91 KiB
/wp-admin/post-new.php?post_type=page0.651 s0.869 s+0.218 s5.75 MiB5.89 MiB+ 148.75 KiB
/wp-admin/options-discussion.php0.365 s0.332 s-0.033 s3.41 MiB3.53 MiB+ 129.16 KiB
/wp-admin/edit-comments.php0.291 s0.232 s-0.059 s3.49 MiB3.55 MiB+ 64.66 KiB
/0.362 s0.241 s-0.121 s3.4 MiB3.43 MiB+ 27.22 KiB
Average 0.418 s0.409 s-0.009 s3.87 MiB3.97 MiB+ 103.61 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 9 lines

[11-Sep-2024 01:31:42 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
[11-Sep-2024 01:31:43 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
[11-Sep-2024 01:31:44 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
[11-Sep-2024 01:31:46 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 6085
[11-Sep-2024 01:31:46 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 6085
[11-Sep-2024 01:31:51 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 6085
[11-Sep-2024 01:31:52 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 6085
[11-Sep-2024 01:31:52 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 6085
[11-Sep-2024 01:31:57 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 6085
See also: All tests for this plugin, How to Hide Scripts n Styles Admin Menus and Meta Boxes