Simple Custom CSS and JS 3.42

Does Simple Custom CSS and JS work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 99.87 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.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 600,000+
WordPress.org page https://wordpress.org/plugins/custom-css-js/
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=custom-css-js%2Fcustom-css-js.php&plugin_status=all&paged=1&s&_wpnonce=95e5732ebe
Aspect after-activation
HTTP status 200
Load time 0.483 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Custom CSS & JS

Page screenshot: Custom CSS & JS
URL /wp-admin/edit.php?post_type=custom-css-js
Aspect menu-item
HTTP status 200
Load time 0.254 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Custom CSS & JS → Add Custom CSS

Page screenshot: Custom CSS & JS → Add Custom CSS
URL /wp-admin/post-new.php?post_type=custom-css-js&language=css
Aspect menu-item
HTTP status 200
Load time 0.590 s
Memory usage 3.3 MiB
JS errors None
Resource errors None

Custom CSS & JS → Add Custom JS

Page screenshot: Custom CSS & JS → Add Custom JS
URL /wp-admin/post-new.php?post_type=custom-css-js&language=js
Aspect menu-item
HTTP status 200
Load time 0.337 s
Memory usage 3.18 MiB
JS errors None
Resource errors None

Custom CSS & JS → Add Custom HTML

Page screenshot: Custom CSS & JS → Add Custom HTML
URL /wp-admin/post-new.php?post_type=custom-css-js&language=html
Aspect menu-item
HTTP status 200
Load time 0.297 s
Memory usage 3.18 MiB
JS errors None
Resource errors None

Custom CSS & JS → Settings

Page screenshot: Custom CSS & JS → Settings
URL /wp-admin/edit.php?post_type=custom-css-js&page=custom-css-js-config
Aspect menu-item
HTTP status 200
Load time 0.165 s
Memory usage 3.05 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.207 s
Memory usage 3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.295 s0.249 s-0.046 s3.05 MiB3.16 MiB+ 115.23 KiB
/wp-admin/edit.php0.194 s0.182 s-0.012 s3.07 MiB3.19 MiB+ 120.23 KiB
/wp-admin/post-new.php0.786 s1.061 s+0.275 s4.97 MiB5.09 MiB+ 131.63 KiB
/wp-admin/upload.php0.579 s0.417 s-0.162 s2.99 MiB3.08 MiB+ 89.45 KiB
/wp-admin/options-writing.php0.184 s0.137 s-0.047 s2.99 MiB3.06 MiB+ 76.09 KiB
/wp-admin/media-new.php0.309 s0.241 s-0.068 s2.97 MiB3.07 MiB+ 101.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.184 s-0.009 s2.98 MiB3.08 MiB+ 106.8 KiB
/wp-admin/post-new.php?post_type=page0.636 s0.607 s-0.029 s4.96 MiB5.08 MiB+ 123.21 KiB
/wp-admin/options-discussion.php0.218 s0.205 s-0.013 s2.97 MiB3.06 MiB+ 89.94 KiB
/wp-admin/edit-comments.php0.219 s0.200 s-0.019 s3 MiB3.09 MiB+ 89.41 KiB
/0.311 s0.222 s-0.089 s2.94 MiB3 MiB+ 54.91 KiB
Average 0.357 s0.337 s-0.020 s3.35 MiB3.45 MiB+ 99.87 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
PO File
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP46.5%1,9674127
PO File23.4%9893833
JavaScript19.1%807624
CSS11.0%465292
Total 4,228 886 16

PHP Code Analysis | More results »

Lines of code 2,026
Total complexity 412
Median class complexity 29.0
Median method complexity 3.0
Most complex class CustomCSSandJS_Admin
Most complex function CustomCSSandJS::__call()
Classes 7
Methods 79
Functions 3

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 3

Custom Post Types 1

ID Name
custom-css-jsCustom Code

Meta Boxes

{
    "custom-css-js": {
        "custom-code-options": {
            "title": "Options",
            "context": "side"
        },
        "previewdiv": {
            "title": "Preview",
            "context": "normal"
        },
        "url-rules": {
            "title": "Apply only on these URLs",
            "context": "normal"
        },
        "revisionsdiv": {
            "title": "Code Revisions",
            "context": "normal"
        }
    }
}

Roles 1

ID Name
css_js_designerWeb Designer

Capabilities 10

PHP Error Log 10 lines

[17-Jan-2023 11:48:17 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/custom-css-js/custom-css-js.php on line 89
[17-Jan-2023 11:48:17 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/custom-css-js/custom-css-js.php on line 89
[17-Jan-2023 11:48:18 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/custom-css-js/custom-css-js.php on line 89
[17-Jan-2023 11:48:18 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/custom-css-js/custom-css-js.php on line 89
[17-Jan-2023 11:48:18 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/custom-css-js/custom-css-js.php on line 89
[17-Jan-2023 11:48:19 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/custom-css-js/custom-css-js.php on line 89
[17-Jan-2023 11:48:20 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/custom-css-js/custom-css-js.php on line 89
[17-Jan-2023 11:48:22 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/custom-css-js/custom-css-js.php on line 89
[17-Jan-2023 11:48:23 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/custom-css-js/custom-css-js.php on line 89
[17-Jan-2023 11:48:23 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/custom-css-js/includes/admin-config.php on line 198
See also: All tests for this plugin, How to Hide Simple Custom CSS and JS Admin Menus and Meta Boxes