Custom CSS 1.4.0

Does Custom CSS work with WordPress 5.7.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
14PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 629.7 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.7.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/custom-css-editor/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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-editor%2Ffreshplugin.php&plugin_status=all&paged=1&s&_wpnonce=f226ee9ea1
Aspect after-activation
HTTP status 200
Load time 0.456 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Appearance → Custom Code

Page screenshot: Appearance → Custom Code
URL /wp-admin/edit.php?post_type=ff-customcode-item
Aspect menu-item
HTTP status 200
Load time 0.200 s
Memory usage 3.38 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.253 s
Memory usage 3.23 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.298 s+0.016 s2.82 MiB3.41 MiB+ 599.7 KiB
/wp-admin/edit.php0.198 s0.209 s+0.011 s2.86 MiB3.52 MiB+ 669.5 KiB
/wp-admin/post-new.php1.011 s0.981 s-0.030 s5.02 MiB5.7 MiB+ 693.29 KiB
/wp-admin/upload.php0.502 s0.298 s-0.204 s2.7 MiB3.33 MiB+ 651.19 KiB
/wp-admin/options-writing.php0.166 s0.186 s+0.020 s2.71 MiB3.32 MiB+ 619.16 KiB
/wp-admin/media-new.php0.205 s0.298 s+0.093 s2.67 MiB3.31 MiB+ 651.36 KiB
/wp-admin/edit-tags.php?taxonomy=category0.311 s0.273 s-0.038 s2.77 MiB3.35 MiB+ 589.52 KiB
/wp-admin/post-new.php?post_type=page0.955 s0.750 s-0.205 s5.01 MiB5.68 MiB+ 682.94 KiB
/wp-admin/options-discussion.php0.426 s0.325 s-0.101 s2.67 MiB3.31 MiB+ 651.67 KiB
/wp-admin/edit-comments.php0.293 s0.259 s-0.034 s2.78 MiB3.35 MiB+ 587.17 KiB
/0.362 s0.228 s-0.134 s2.71 MiB3.23 MiB+ 531.16 KiB
Average 0.428 s0.373 s-0.055 s3.16 MiB3.77 MiB+ 629.7 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.

JSON
PHP
JavaScript
Language % Lines of code Comment lines Files
JSON44.2%24,73402
PHP40.2%22,4688,450304
JavaScript9.4%5,2521,54433
LESS5.3%2,9602424
XML0.5%28602
CSS0.3%166383
HTML0.1%7502
Total 55,941 10,274 350

PHP Code Analysis | More results »

Lines of code 22,499
Total complexity 4,861
Median class complexity 7.0
Median method complexity 1.0
Most complex class ffWPLayer
Most complex function ffConditionalLogicEvaluator::_postExtra()
Classes 342
Methods 3,022
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.

Custom Post Types 2

ID Name
ff-customcode-itemCustom Code
ff-optionsOptions

Meta Boxes

{
    "ff-customcode-item": {
        "CustomCodeContent": {
            "title": "Custom Code Content",
            "context": "normal"
        },
        "CustomCodeLogic": {
            "title": "Custom Code Logic",
            "context": "normal"
        },
        "CustomCodeType": {
            "title": "Custom Code Type",
            "context": "side"
        },
        "CustomCodePlacement": {
            "title": "Custom Code Placement",
            "context": "side"
        }
    }
}

PHP Error Log 14 lines

[16-Apr-2021 01:18:37 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 132
[16-Apr-2021 01:18:37 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 183
[16-Apr-2021 01:18:40 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 132
[16-Apr-2021 01:18:40 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 132
[16-Apr-2021 01:18:40 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 132
[16-Apr-2021 01:18:41 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 132
[16-Apr-2021 01:18:41 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 132
[16-Apr-2021 01:18:44 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 132
[16-Apr-2021 01:18:44 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 132
[16-Apr-2021 01:18:44 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 132
[16-Apr-2021 01:18:44 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 132
[16-Apr-2021 01:18:44 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 132
[16-Apr-2021 01:18:45 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 132
[16-Apr-2021 01:18:45 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/custom-css-editor/bootstrap/pluginClass.php on line 183
See also: All tests for this plugin, How to Hide Custom CSS Admin Menus and Meta Boxes