Cloudflare 4.12.3

Does Cloudflare work with WordPress 6.4.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: 22.69 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.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200,000+
WordPress.org page https://wordpress.org/plugins/cloudflare/
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=cloudflare%2Fcloudflare.php&plugin_status=all&paged=1&s&_wpnonce=8f8ca0cc61
Aspect after-activation
HTTP status 200
Load time 0.271 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Settings → Cloudflare

Page screenshot: Settings → Cloudflare
URL /wp-admin/options-general.php?page=cloudflare#/
Requested URL /wp-admin/options-general.php?page=cloudflare
Aspect menu-item
HTTP status 200
Load time 0.551 s
Memory usage 3.37 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.33 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.365 s0.287 s-0.078 s3.38 MiB3.41 MiB+ 35.27 KiB
/wp-admin/edit.php0.229 s0.205 s-0.024 s3.41 MiB3.44 MiB+ 34.91 KiB
/wp-admin/post-new.php0.999 s0.829 s-0.170 s5.46 MiB5.5 MiB+ 39.64 KiB
/wp-admin/upload.php0.719 s0.412 s-0.307 s3.32 MiB3.34 MiB+ 17.9 KiB
/wp-admin/options-writing.php0.218 s0.193 s-0.025 s3.32 MiB3.33 MiB+ 10.49 KiB
/wp-admin/media-new.php0.306 s0.265 s-0.041 s3.29 MiB3.32 MiB+ 30.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.190 s-0.014 s3.31 MiB3.35 MiB+ 35.27 KiB
/wp-admin/post-new.php?post_type=page0.623 s0.569 s-0.054 s5.45 MiB5.49 MiB+ 39.23 KiB
/wp-admin/options-discussion.php0.267 s0.244 s-0.023 s3.3 MiB3.32 MiB+ 18.4 KiB
/wp-admin/edit-comments.php0.235 s0.194 s-0.041 s3.33 MiB3.35 MiB+ 17.9 KiB
/0.295 s0.200 s-0.095 s3.36 MiB3.33 MiB- 29.45 KiB
Average 0.405 s0.326 s-0.079 s3.72 MiB3.74 MiB+ 22.69 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
JavaScript
SVG
Language % Lines of code Comment lines Files
PHP64.4%3,82095761
JavaScript14.2%843459
SVG11.5%685420
CSS7.7%456443
JSON1.2%7302
Markdown1.0%5802
Total 5,935 1,050 97

PHP Code Analysis | More results »

Lines of code 3,699
Total complexity 552
Median class complexity 7.0
Median method complexity 1.0
Most complex class CF\WordPress\Hooks
Most complex function CF\WordPress\Hooks::purgeCacheByRelevantURLs()
Classes 51
Methods 310
Functions 0

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.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Cloudflare" Admin Menu