Reduce Unused CSS Solution with Critical CSS For WP 1.0.8

Does "Reduce Unused CSS Solution with Critical CSS For WP" work with WordPress 6.3 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: 37.02 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.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/critical-css-for-wp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=critical-css-for-wp%2Fcritical-css-for-wp.php&plugin_status=all&paged=1&s&_wpnonce=bf809deb1b
Aspect after-activation
HTTP status 200
Load time 0.338 s
Memory usage 2.8 MiB
JS errors None
Resource errors None

Critical CSS For WP

Page screenshot: Critical CSS For WP
URL /wp-admin/admin.php?page=critical-css-for-wp
Aspect menu-item
HTTP status 200
Load time 0.221 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

Critical CSS For WP → Advance

Page screenshot: Critical CSS For WP → Advance
URL /wp-admin/admin.php?page=critical-css-for-wp&tab=advance
Aspect menu-item-tab
HTTP status 200
Load time 0.295 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

Critical CSS For WP → Support

Page screenshot: Critical CSS For WP → Support
URL /wp-admin/admin.php?page=critical-css-for-wp&tab=support
Aspect menu-item-tab
HTTP status 200
Load time 0.274 s
Memory usage 2.76 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.180 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.349 s0.323 s-0.026 s2.82 MiB2.86 MiB+ 36.02 KiB
/wp-admin/edit.php0.200 s0.224 s+0.024 s2.85 MiB2.94 MiB+ 97.27 KiB
/wp-admin/post-new.php0.749 s0.872 s+0.123 s5.21 MiB5.25 MiB+ 40.81 KiB
/wp-admin/upload.php0.699 s0.330 s-0.369 s2.77 MiB2.79 MiB+ 18.7 KiB
/wp-admin/options-writing.php0.303 s0.167 s-0.136 s2.76 MiB2.77 MiB+ 10.66 KiB
/wp-admin/media-new.php0.296 s0.219 s-0.077 s2.74 MiB2.77 MiB+ 30.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.174 s-0.024 s2.76 MiB2.79 MiB+ 36.05 KiB
/wp-admin/post-new.php?post_type=page0.580 s0.613 s+0.033 s5.21 MiB5.25 MiB+ 40.73 KiB
/wp-admin/options-discussion.php0.234 s0.224 s-0.010 s2.75 MiB2.77 MiB+ 19.19 KiB
/wp-admin/edit-comments.php0.448 s0.211 s-0.237 s2.78 MiB2.8 MiB+ 18.73 KiB
/0.317 s0.173 s-0.144 s3.13 MiB3.18 MiB+ 58.18 KiB
Average 0.398 s0.321 s-0.077 s3.25 MiB3.29 MiB+ 37.02 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP75.9%1,760715
CSS13.9%32281
JavaScript10.0%23131
JSON0.2%501
Total 2,318 82 8

PHP Code Analysis | More results »

Lines of code 1,784
Total complexity 355
Median class complexity 221.0
Median method complexity 5.5
Most complex class class_critical_css_for_wp
Most complex function ccwp_delay_js_html()
Classes 1
Methods 34
Functions 27

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.

Database Tables 1

Options wp_options 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Critical CSS For WP" Admin Menu