Cloudflare 4.10.1

Does Cloudflare work with WordPress 6.0.1 and PHP 7.4.8? 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: 60.39 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.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=b514a0de82
Aspect after-activation
HTTP status 200
Load time 0.403 s
Memory usage 3.74 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.612 s
Memory usage 3.75 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.230 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.389 s0.277 s-0.112 s3.72 MiB3.77 MiB+ 49.51 KiB
/wp-admin/edit.php0.220 s0.203 s-0.017 s3.75 MiB3.86 MiB+ 113.14 KiB
/wp-admin/post-new.php0.763 s1.012 s+0.249 s5.55 MiB5.6 MiB+ 58.18 KiB
/wp-admin/upload.php0.403 s0.340 s-0.063 s3.68 MiB3.73 MiB+ 48.38 KiB
/wp-admin/options-writing.php0.158 s0.158 s+0.000 s3.62 MiB3.71 MiB+ 92.28 KiB
/wp-admin/media-new.php0.426 s0.303 s-0.123 s3.66 MiB3.71 MiB+ 48.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.262 s+0.079 s3.69 MiB3.74 MiB+ 49.45 KiB
/wp-admin/post-new.php?post_type=page0.707 s0.656 s-0.051 s5.54 MiB5.59 MiB+ 49.77 KiB
/wp-admin/options-discussion.php0.223 s0.217 s-0.006 s3.6 MiB3.71 MiB+ 112.86 KiB
/wp-admin/edit-comments.php0.232 s0.218 s-0.014 s3.69 MiB3.74 MiB+ 48.36 KiB
/0.276 s0.217 s-0.059 s3.6 MiB3.6 MiB- 6.19 KiB
Average 0.362 s0.351 s-0.011 s4.01 MiB4.07 MiB+ 60.39 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,80095161
JavaScript14.3%843459
SVG11.6%685420
CSS7.7%456443
JSON1.2%7002
Markdown1.0%5802
Total 5,912 1,044 97

PHP Code Analysis | More results »

Lines of code 3,679
Total complexity 546
Median class complexity 7.0
Median method complexity 1.0
Most complex class CF\WordPress\Hooks
Most complex function CF\WordPress\Hooks::getPostRelatedLinks()
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