Reduce Unused CSS Solution with Critical CSS For WP 1.0.17

Does "Reduce Unused CSS Solution with Critical CSS For WP" work with WordPress 6.7.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: 41.49 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.7.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=7db88b3337
Aspect after-activation
HTTP status 200
Load time 0.241 s
Memory usage 3.54 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.177 s
Memory usage 3.51 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.226 s
Memory usage 3.51 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.222 s
Memory usage 3.51 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.147 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.283 s0.258 s-0.025 s3.48 MiB3.53 MiB+ 49.87 KiB
/wp-admin/edit.php0.181 s0.156 s-0.025 s3.54 MiB3.61 MiB+ 72.69 KiB
/wp-admin/post-new.php0.705 s0.569 s-0.136 s5.92 MiB5.98 MiB+ 54.23 KiB
/wp-admin/upload.php0.498 s0.466 s-0.032 s3.5 MiB3.53 MiB+ 32.5 KiB
/wp-admin/options-writing.php0.193 s0.169 s-0.024 s3.47 MiB3.51 MiB+ 35.67 KiB
/wp-admin/media-new.php0.251 s0.207 s-0.044 s3.46 MiB3.51 MiB+ 43.87 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.169 s-0.012 s3.48 MiB3.53 MiB+ 55.36 KiB
/wp-admin/post-new.php?post_type=page0.512 s0.524 s+0.012 s5.92 MiB5.97 MiB+ 49.76 KiB
/wp-admin/options-discussion.php0.263 s0.230 s-0.033 s3.47 MiB3.51 MiB+ 32.17 KiB
/wp-admin/edit-comments.php0.356 s0.214 s-0.142 s3.49 MiB3.53 MiB+ 32.49 KiB
/0.282 s0.344 s+0.062 s3.48 MiB3.48 MiB- 2.17 KiB
Average 0.337 s0.301 s-0.036 s3.93 MiB3.97 MiB+ 41.49 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
PHP77.2%2,0972625
CSS13.9%37981
JavaScript8.9%24131
Total 2,717 273 7

PHP Code Analysis | More results »

Lines of code 2,125
Total complexity 431
Median class complexity 252.0
Median method complexity 6.0
Most complex class Critical_Css_For_Wp
Most complex function ccwp_delay_js_html()
Classes 1
Methods 36
Functions 34

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

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