Cloudflare 4.8.1

Does Cloudflare work with WordPress 5.9.2 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: 80.58 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 version5.9.2
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=75705ff46a
Aspect after-activation
HTTP status 200
Load time 0.258 s
Memory usage 3.38 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.674 s
Memory usage 3.38 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.334 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.343 s0.267 s-0.076 s3.37 MiB3.42 MiB+ 49.51 KiB
/wp-admin/edit.php0.178 s0.212 s+0.034 s3.4 MiB3.45 MiB+ 49.14 KiB
/wp-admin/post-new.php1.032 s1.297 s+0.265 s6.15 MiB6.2 MiB+ 54.18 KiB
/wp-admin/upload.php0.383 s0.314 s-0.069 s3.25 MiB3.37 MiB+ 120.38 KiB
/wp-admin/options-writing.php0.279 s0.136 s-0.143 s3.24 MiB3.34 MiB+ 104.23 KiB
/wp-admin/media-new.php0.280 s0.207 s-0.073 s3.23 MiB3.34 MiB+ 120.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.184 s-0.015 s3.27 MiB3.38 MiB+ 113.45 KiB
/wp-admin/post-new.php?post_type=page0.957 s1.159 s+0.202 s6.15 MiB6.19 MiB+ 49.77 KiB
/wp-admin/options-discussion.php0.227 s0.302 s+0.075 s3.22 MiB3.34 MiB+ 120.86 KiB
/wp-admin/edit-comments.php0.210 s0.207 s-0.003 s3.27 MiB3.38 MiB+ 112.36 KiB
/0.308 s0.210 s-0.098 s3.4 MiB3.39 MiB- 8.05 KiB
Average 0.400 s0.409 s+0.009 s3.81 MiB3.89 MiB+ 80.58 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.0%3,74992161
JavaScript14.4%843459
SVG11.7%685420
CSS7.8%456443
JSON1.2%7002
Markdown1.0%5802
Total 5,861 1,014 97

PHP Code Analysis | More results »

Lines of code 3,628
Total complexity 535
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 304
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