Simple Custom CSS and JS 3.49

Does Simple Custom CSS and JS work with WordPress 6.7.2 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: 119.15 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.7.2
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=bbb1b9546a
Aspect after-activation
HTTP status 200
Load time 0.322 s
Memory usage 3.61 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.228 s
Memory usage 3.65 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.579 s
Memory usage 3.67 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.344 s
Memory usage 3.67 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.302 s
Memory usage 3.67 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.178 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.160 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.270 s0.244 s-0.026 s3.48 MiB3.61 MiB+ 131.39 KiB
/wp-admin/edit.php0.170 s0.186 s+0.016 s3.54 MiB3.67 MiB+ 128.99 KiB
/wp-admin/post-new.php0.675 s0.632 s-0.043 s5.93 MiB6.09 MiB+ 163.85 KiB
/wp-admin/upload.php0.473 s0.397 s-0.076 s3.5 MiB3.6 MiB+ 105.12 KiB
/wp-admin/options-writing.php0.179 s0.184 s+0.005 s3.47 MiB3.58 MiB+ 109.11 KiB
/wp-admin/media-new.php0.243 s0.206 s-0.037 s3.46 MiB3.58 MiB+ 117.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.149 s0.163 s+0.014 s3.48 MiB3.6 MiB+ 127.98 KiB
/wp-admin/post-new.php?post_type=page0.563 s0.536 s-0.027 s5.92 MiB6.08 MiB+ 159.06 KiB
/wp-admin/options-discussion.php0.226 s0.207 s-0.019 s3.48 MiB3.58 MiB+ 105.61 KiB
/wp-admin/edit-comments.php0.200 s0.361 s+0.161 s3.5 MiB3.6 MiB+ 105.11 KiB
/0.255 s0.190 s-0.065 s3.41 MiB3.46 MiB+ 57.15 KiB
Average 0.309 s0.301 s-0.009 s3.92 MiB4.04 MiB+ 119.15 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.4%2,0044157
PO File22.9%9893833
JavaScript19.8%857675
CSS10.9%469292
Total 4,319 894 17

PHP Code Analysis | More results »

Lines of code 2,063
Total complexity 431
Median class complexity 32.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

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