Simple Custom CSS and JS 3.35

Does Simple Custom CSS and JS work with WordPress 5.6.2 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: 103.47 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.6.2
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=57161d2c80
Aspect after-activation
HTTP status 200
Load time 1.982 s
Memory usage 2.78 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.263 s
Memory usage 2.89 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.561 s
Memory usage 3.01 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.295 s
Memory usage 2.93 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.304 s
Memory usage 2.93 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.361 s
Memory usage 2.75 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.210 s
Memory usage 2.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.259 s0.397 s+0.138 s2.79 MiB2.9 MiB+ 111.55 KiB
/wp-admin/edit.php0.170 s0.245 s+0.075 s2.84 MiB2.95 MiB+ 116.55 KiB
/wp-admin/post-new.php0.914 s0.864 s-0.050 s4.93 MiB5.07 MiB+ 135.66 KiB
/wp-admin/upload.php0.474 s0.408 s-0.066 s2.67 MiB2.77 MiB+ 102.04 KiB
/wp-admin/options-writing.php0.244 s0.171 s-0.073 s2.68 MiB2.75 MiB+ 70.02 KiB
/wp-admin/media-new.php0.223 s0.172 s-0.051 s2.65 MiB2.74 MiB+ 102.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.190 s+0.007 s2.68 MiB2.84 MiB+ 167.12 KiB
/wp-admin/post-new.php?post_type=page1.042 s0.648 s-0.394 s4.92 MiB5.05 MiB+ 131.24 KiB
/wp-admin/options-discussion.php0.305 s0.187 s-0.118 s2.65 MiB2.75 MiB+ 102.52 KiB
/wp-admin/edit-comments.php0.249 s0.203 s-0.046 s2.75 MiB2.85 MiB+ 102 KiB
/0.253 s0.194 s-0.059 s2.67 MiB2.67 MiB- 2.72 KiB
Average 0.392 s0.334 s-0.058 s3.11 MiB3.21 MiB+ 103.47 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,8853947
PO File24.5%9893833
JavaScript19.9%805574
CSS8.9%359312
Total 4,038 865 16

PHP Code Analysis | More results »

Lines of code 1,944
Total complexity 391
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