Cloudflare 4.11.0

Does Cloudflare work with WordPress 6.2.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: 29.38 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.2.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=41d834974c
Aspect after-activation
HTTP status 200
Load time 0.228 s
Memory usage 3.05 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.751 s
Memory usage 3.07 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.240 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.749 s0.240 s-0.509 s3.07 MiB3.1 MiB+ 32.52 KiB
/wp-admin/edit.php0.185 s0.193 s+0.008 s3.1 MiB3.13 MiB+ 32.15 KiB
/wp-admin/post-new.php0.736 s1.022 s+0.286 s5.02 MiB5.06 MiB+ 36.88 KiB
/wp-admin/upload.php0.521 s0.240 s-0.281 s3.02 MiB3.03 MiB+ 15.05 KiB
/wp-admin/options-writing.php0.168 s0.151 s-0.017 s3.01 MiB3.01 MiB+ 1.81 KiB
/wp-admin/media-new.php0.295 s0.214 s-0.081 s2.99 MiB3.02 MiB+ 27.24 KiB
/wp-admin/edit-tags.php?taxonomy=category0.242 s0.174 s-0.068 s3.01 MiB3.04 MiB+ 32.41 KiB
/wp-admin/post-new.php?post_type=page0.592 s0.758 s+0.166 s5.02 MiB5.05 MiB+ 28.05 KiB
/wp-admin/options-discussion.php0.201 s0.228 s+0.027 s3 MiB3.01 MiB+ 15.6 KiB
/wp-admin/edit-comments.php0.201 s0.194 s-0.007 s3.03 MiB3.04 MiB+ 15.1 KiB
/0.297 s0.209 s-0.088 s2.97 MiB3.05 MiB+ 86.38 KiB
Average 0.381 s0.329 s-0.051 s3.38 MiB3.41 MiB+ 29.38 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.3%3,80595161
JavaScript14.2%843459
SVG11.6%685420
CSS7.7%456443
JSON1.2%7002
Markdown1.0%5802
Total 5,917 1,044 97

PHP Code Analysis | More results »

Lines of code 3,684
Total complexity 549
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 308
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