Simple Custom CSS and JS 3.41

Does Simple Custom CSS and JS work with WordPress 6.1.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: 112.55 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.1.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=1a45f768e5
Aspect after-activation
HTTP status 200
Load time 0.455 s
Memory usage 3.59 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.271 s
Memory usage 3.64 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.657 s
Memory usage 3.73 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.351 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.354 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.193 s
Memory usage 3.48 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.219 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.293 s0.278 s-0.015 s3.54 MiB3.66 MiB+ 115.15 KiB
/wp-admin/edit.php0.186 s0.194 s+0.008 s3.57 MiB3.69 MiB+ 120.15 KiB
/wp-admin/post-new.php0.826 s0.765 s-0.061 s5.46 MiB5.59 MiB+ 131.23 KiB
/wp-admin/upload.php0.686 s0.450 s-0.236 s3.41 MiB3.57 MiB+ 169.61 KiB
/wp-admin/options-writing.php0.155 s0.141 s-0.014 s3.4 MiB3.49 MiB+ 88.08 KiB
/wp-admin/media-new.php0.277 s0.198 s-0.079 s3.38 MiB3.55 MiB+ 169.78 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.195 s+0.000 s3.48 MiB3.58 MiB+ 106.69 KiB
/wp-admin/post-new.php?post_type=page0.623 s0.602 s-0.021 s5.46 MiB5.58 MiB+ 122.78 KiB
/wp-admin/options-discussion.php0.220 s0.203 s-0.017 s3.38 MiB3.49 MiB+ 106.09 KiB
/wp-admin/edit-comments.php0.195 s0.197 s+0.002 s3.48 MiB3.58 MiB+ 105.57 KiB
/0.271 s0.222 s-0.049 s3.46 MiB3.47 MiB+ 2.89 KiB
Average 0.357 s0.313 s-0.044 s3.82 MiB3.93 MiB+ 112.55 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,9424107
PO File23.5%9893833
JavaScript19.2%807624
CSS11.1%465292
Total 4,203 884 16

PHP Code Analysis | More results »

Lines of code 2,001
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

User Metadata wp_usermeta 1

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