Reduce Unused CSS Solution with Critical CSS For WP 1.0.3

Does "Reduce Unused CSS Solution with Critical CSS For WP" work with WordPress 6.1.1 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: 40.48 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.1.1
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=5fe71eb7fa
Aspect after-activation
HTTP status 200
Load time 0.383 s
Memory usage 3.03 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.616 s
Memory usage 3 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.330 s
Memory usage 3 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.342 s
Memory usage 3 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.277 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.265 s0.484 s+0.219 s3.05 MiB3.08 MiB+ 39.21 KiB
/wp-admin/edit.php0.172 s0.280 s+0.108 s3.07 MiB3.16 MiB+ 87.44 KiB
/wp-admin/post-new.php0.750 s1.582 s+0.832 s4.97 MiB5.01 MiB+ 48.02 KiB
/wp-admin/upload.php0.639 s0.770 s+0.131 s2.99 MiB3.01 MiB+ 21.89 KiB
/wp-admin/options-writing.php0.133 s0.212 s+0.079 s2.99 MiB3 MiB+ 8.54 KiB
/wp-admin/media-new.php0.247 s0.268 s+0.021 s2.97 MiB3 MiB+ 34.08 KiB
/wp-admin/edit-tags.php?taxonomy=category0.163 s0.173 s+0.010 s2.98 MiB3.02 MiB+ 39.25 KiB
/wp-admin/post-new.php?post_type=page0.604 s1.592 s+0.988 s4.96 MiB5 MiB+ 43.94 KiB
/wp-admin/options-discussion.php0.192 s0.251 s+0.059 s2.98 MiB3 MiB+ 22.38 KiB
/wp-admin/edit-comments.php0.171 s0.301 s+0.130 s3 MiB3.02 MiB+ 21.92 KiB
/0.267 s0.226 s-0.041 s2.94 MiB3.02 MiB+ 78.59 KiB
Average 0.328 s0.558 s+0.231 s3.35 MiB3.39 MiB+ 40.48 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.5%1,722815
CSS14.1%32281
JavaScript10.1%23131
JSON0.2%501
Total 2,280 92 8

PHP Code Analysis | More results »

Lines of code 1,753
Total complexity 353
Median class complexity 206.0
Median method complexity 6.0
Most complex class class_critical_css_for_wp
Most complex function ccwp_delay_js_html()
Classes 1
Methods 32
Functions 28

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