Simple Custom CSS and JS 3.43

Does Simple Custom CSS and JS work with WordPress 6.2.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: 99.54 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.060 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2.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=e8a1ebc7be
Aspect after-activation
HTTP status 200
Load time 0.645 s
Memory usage 3.12 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.248 s
Memory usage 3.17 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.572 s
Memory usage 3.33 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.335 s
Memory usage 3.19 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.294 s
Memory usage 3.19 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.232 s
Memory usage 3.08 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.250 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.282 s0.383 s+0.101 s3.07 MiB3.18 MiB+ 115.54 KiB
/wp-admin/edit.php0.183 s0.191 s+0.008 s3.1 MiB3.22 MiB+ 120.23 KiB
/wp-admin/post-new.php0.748 s1.477 s+0.729 s5.02 MiB5.14 MiB+ 127.63 KiB
/wp-admin/upload.php0.555 s0.492 s-0.063 s3.02 MiB3.1 MiB+ 89.45 KiB
/wp-admin/options-writing.php0.180 s0.143 s-0.037 s3.01 MiB3.09 MiB+ 76.2 KiB
/wp-admin/media-new.php0.349 s0.227 s-0.122 s2.99 MiB3.09 MiB+ 101.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.185 s-0.001 s3.01 MiB3.11 MiB+ 106.81 KiB
/wp-admin/post-new.php?post_type=page0.584 s0.723 s+0.139 s5.01 MiB5.13 MiB+ 123.21 KiB
/wp-admin/options-discussion.php0.217 s0.227 s+0.010 s3 MiB3.09 MiB+ 89.94 KiB
/wp-admin/edit-comments.php0.211 s0.183 s-0.028 s3.03 MiB3.11 MiB+ 89.41 KiB
/0.308 s0.228 s-0.080 s2.97 MiB3.02 MiB+ 54.91 KiB
Average 0.346 s0.405 s+0.060 s3.38 MiB3.48 MiB+ 99.54 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.6%1,9704127
PO File23.4%9893833
JavaScript19.1%807624
CSS11.0%465292
Total 4,231 886 16

PHP Code Analysis | More results »

Lines of code 2,029
Total complexity 415
Median class complexity 30.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