Simple Custom CSS and JS 3.40

Does Simple Custom CSS and JS work with WordPress 6.0.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.45 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.0.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=182b683489
Aspect after-activation
HTTP status 200
Load time 0.686 s
Memory usage 3.79 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.454 s
Memory usage 3.85 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.624 s
Memory usage 3.94 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.331 s
Memory usage 3.85 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.301 s
Memory usage 3.85 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.231 s
Memory usage 3.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.281 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.386 s0.331 s-0.055 s3.72 MiB3.82 MiB+ 102.63 KiB
/wp-admin/edit.php0.214 s0.192 s-0.022 s3.76 MiB3.86 MiB+ 107.63 KiB
/wp-admin/post-new.php0.872 s1.598 s+0.726 s5.55 MiB5.66 MiB+ 116.5 KiB
/wp-admin/upload.php0.427 s0.339 s-0.088 s3.69 MiB3.78 MiB+ 99.31 KiB
/wp-admin/options-writing.php0.302 s0.253 s-0.049 s3.62 MiB3.76 MiB+ 143.22 KiB
/wp-admin/media-new.php0.320 s0.277 s-0.043 s3.66 MiB3.76 MiB+ 99.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.180 s-0.021 s3.69 MiB3.79 MiB+ 100.39 KiB
/wp-admin/post-new.php?post_type=page1.218 s0.729 s-0.489 s5.54 MiB5.65 MiB+ 108.09 KiB
/wp-admin/options-discussion.php0.244 s0.236 s-0.008 s3.6 MiB3.76 MiB+ 163.8 KiB
/wp-admin/edit-comments.php0.240 s0.241 s+0.001 s3.7 MiB3.79 MiB+ 99.27 KiB
/0.433 s0.223 s-0.210 s3.6 MiB3.6 MiB- 2.32 KiB
Average 0.442 s0.418 s-0.023 s4.01 MiB4.11 MiB+ 103.45 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.2%1,9344097
PO File23.6%9893833
JavaScript19.1%802614
CSS11.1%465292
Total 4,190 882 16

PHP Code Analysis | More results »

Lines of code 1,993
Total complexity 399
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