Simple Custom CSS and JS 3.37

Does Simple Custom CSS and JS work with WordPress 5.8.1 and PHP 7.4.8? 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: 97.13 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 version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=4d50bffbc7
Aspect after-activation
HTTP status 200
Load time 0.842 s
Memory usage 3.13 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.371 s
Memory usage 3.18 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.707 s
Memory usage 3.34 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.341 s
Memory usage 3.2 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.343 s
Memory usage 3.2 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.169 s
Memory usage 3.09 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.260 s
Memory usage 2.95 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.292 s0.232 s-0.060 s3.08 MiB3.19 MiB+ 108.53 KiB
/wp-admin/edit.php0.170 s0.166 s-0.004 s3.11 MiB3.29 MiB+ 177.53 KiB
/wp-admin/post-new.php0.855 s1.181 s+0.326 s5.27 MiB5.38 MiB+ 111.14 KiB
/wp-admin/upload.php0.374 s0.450 s+0.076 s3.03 MiB3.12 MiB+ 96.48 KiB
/wp-admin/options-writing.php0.151 s0.159 s+0.008 s3.02 MiB3.1 MiB+ 80.46 KiB
/wp-admin/media-new.php0.251 s0.215 s-0.036 s3.01 MiB3.1 MiB+ 96.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.172 s0.169 s-0.003 s3.04 MiB3.13 MiB+ 97.56 KiB
/wp-admin/post-new.php?post_type=page0.798 s0.630 s-0.168 s5.26 MiB5.37 MiB+ 110.73 KiB
/wp-admin/options-discussion.php0.270 s0.228 s-0.042 s3 MiB3.1 MiB+ 96.97 KiB
/wp-admin/edit-comments.php0.202 s0.200 s-0.002 s3.04 MiB3.14 MiB+ 96.45 KiB
/0.265 s0.207 s-0.058 s2.96 MiB2.95 MiB- 4.13 KiB
Average 0.345 s0.349 s+0.003 s3.44 MiB3.53 MiB+ 97.13 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.7%1,8903947
PO File24.4%9893833
JavaScript19.9%807574
CSS9.0%365312
Total 4,051 865 16

PHP Code Analysis | More results »

Lines of code 1,949
Total complexity 394
Median class complexity 29.0
Median method complexity 3.0
Most complex class CustomCSSandJS_Admin
Most complex function CustomCSSandJS::__call()
Classes 7
Methods 78
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