Cloudflare 4.12.7

Does Cloudflare work with WordPress 6.5.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: 20.74 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.5.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=2b310c67cc
Aspect after-activation
HTTP status 200
Load time 0.295 s
Memory usage 3.41 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.601 s
Memory usage 3.43 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.192 s
Memory usage 3.39 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.454 s0.340 s-0.114 s3.44 MiB3.47 MiB+ 33.73 KiB
/wp-admin/edit.php0.219 s0.214 s-0.005 s3.46 MiB3.49 MiB+ 33.37 KiB
/wp-admin/post-new.php0.924 s0.789 s-0.135 s5.59 MiB5.63 MiB+ 38.1 KiB
/wp-admin/upload.php0.639 s0.473 s-0.166 s3.38 MiB3.4 MiB+ 16.37 KiB
/wp-admin/options-writing.php0.242 s0.202 s-0.040 s3.37 MiB3.38 MiB+ 8.33 KiB
/wp-admin/media-new.php0.336 s0.282 s-0.054 s3.35 MiB3.38 MiB+ 28.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.211 s0.202 s-0.009 s3.37 MiB3.4 MiB+ 33.73 KiB
/wp-admin/post-new.php?post_type=page0.574 s0.625 s+0.051 s5.59 MiB5.62 MiB+ 33.69 KiB
/wp-admin/options-discussion.php0.369 s0.273 s-0.096 s3.36 MiB3.37 MiB+ 16.86 KiB
/wp-admin/edit-comments.php0.272 s0.437 s+0.165 s3.39 MiB3.41 MiB+ 16.36 KiB
/0.324 s0.265 s-0.059 s3.42 MiB3.39 MiB- 30.98 KiB
Average 0.415 s0.373 s-0.042 s3.79 MiB3.81 MiB+ 20.74 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.5%3,83095761
JavaScript14.0%834459
SVG11.5%685420
CSS7.7%456443
JSON1.2%7302
Markdown1.0%5802
Total 5,936 1,050 97

PHP Code Analysis | More results »

Lines of code 3,709
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