Simple Custom CSS and JS 3.51

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 117.97 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.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 700,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=0fc0eafaf0
Aspect after-activation
HTTP status 200
Load time 0.427 s
Memory usage 3.64 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.293 s
Memory usage 3.68 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.584 s
Memory usage 3.68 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.445 s
Memory usage 3.68 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.315 s
Memory usage 3.68 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.191 s
Memory usage 3.61 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.221 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.450 s0.548 s+0.098 s3.51 MiB3.63 MiB+ 131.78 KiB
/wp-admin/edit.php0.223 s0.271 s+0.048 s3.57 MiB3.7 MiB+ 129.02 KiB
/wp-admin/post-new.php0.870 s0.684 s-0.186 s6.06 MiB6.21 MiB+ 156.12 KiB
/wp-admin/upload.php0.889 s0.750 s-0.139 s3.52 MiB3.63 MiB+ 105.14 KiB
/wp-admin/options-writing.php0.213 s0.222 s+0.009 s3.5 MiB3.61 MiB+ 109.13 KiB
/wp-admin/media-new.php0.292 s0.279 s-0.013 s3.49 MiB3.61 MiB+ 117.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.213 s+0.019 s3.5 MiB3.63 MiB+ 128 KiB
/wp-admin/post-new.php?post_type=page0.783 s0.682 s-0.101 s6.05 MiB6.2 MiB+ 151.64 KiB
/wp-admin/options-discussion.php0.312 s0.309 s-0.003 s3.5 MiB3.61 MiB+ 105.63 KiB
/wp-admin/edit-comments.php0.239 s0.408 s+0.169 s3.52 MiB3.63 MiB+ 105.13 KiB
/0.362 s0.216 s-0.146 s3.43 MiB3.49 MiB+ 58.73 KiB
Average 0.439 s0.417 s-0.022 s3.97 MiB4.09 MiB+ 117.97 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
PHP47.4%2,0534277
PO File22.8%9893833
JavaScript18.6%807624
CSS11.1%481292
Total 4,330 901 16

PHP Code Analysis | More results »

Lines of code 2,112
Total complexity 455
Median class complexity 30.0
Median method complexity 3.0
Most complex class CustomCSSandJS_Admin
Most complex function CustomCSSandJS::__call()
Classes 7
Methods 81
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 5

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

The log file is empty.

See also: All tests for this plugin, How to Hide Simple Custom CSS and JS Admin Menus and Meta Boxes