Cloudflare 4.12.2

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: 27.62 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=3a7b39c337
Aspect after-activation
HTTP status 200
Load time 0.305 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.576 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.209 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.380 s0.311 s-0.069 s3.38 MiB3.41 MiB+ 35.43 KiB
/wp-admin/edit.php0.219 s0.232 s+0.013 s3.41 MiB3.44 MiB+ 35.06 KiB
/wp-admin/post-new.php1.009 s0.688 s-0.321 s5.46 MiB5.5 MiB+ 39.8 KiB
/wp-admin/upload.php0.609 s0.576 s-0.033 s3.32 MiB3.34 MiB+ 18.02 KiB
/wp-admin/options-writing.php0.236 s0.226 s-0.010 s3.32 MiB3.33 MiB+ 10.61 KiB
/wp-admin/media-new.php0.323 s0.242 s-0.081 s3.29 MiB3.32 MiB+ 30.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.214 s+0.008 s3.31 MiB3.35 MiB+ 35.38 KiB
/wp-admin/post-new.php?post_type=page0.624 s0.626 s+0.002 s5.45 MiB5.49 MiB+ 39.38 KiB
/wp-admin/options-discussion.php0.264 s0.326 s+0.062 s3.3 MiB3.32 MiB+ 18.52 KiB
/wp-admin/edit-comments.php0.285 s0.240 s-0.045 s3.34 MiB3.35 MiB+ 18.02 KiB
/0.302 s0.208 s-0.094 s3.31 MiB3.33 MiB+ 23.34 KiB
Average 0.405 s0.354 s-0.052 s3.72 MiB3.74 MiB+ 27.62 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