Cloudflare 4.4.0

Does Cloudflare work with WordPress 5.7.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: 82.08 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.7.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=549884bb07
Aspect after-activation
HTTP status 200
Load time 0.238 s
Memory usage 2.82 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.621 s
Memory usage 2.85 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.178 s
Memory usage 2.69 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.262 s0.255 s-0.007 s2.82 MiB2.87 MiB+ 52.95 KiB
/wp-admin/edit.php0.179 s0.314 s+0.135 s2.86 MiB2.96 MiB+ 103.38 KiB
/wp-admin/post-new.php1.218 s0.887 s-0.331 s5.02 MiB5.15 MiB+ 129.62 KiB
/wp-admin/upload.php0.488 s0.251 s-0.237 s2.7 MiB2.8 MiB+ 111.81 KiB
/wp-admin/options-writing.php0.210 s0.157 s-0.053 s2.71 MiB2.79 MiB+ 79.79 KiB
/wp-admin/media-new.php0.365 s0.161 s-0.204 s2.67 MiB2.78 MiB+ 111.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.187 s-0.014 s2.77 MiB2.82 MiB+ 48.89 KiB
/wp-admin/post-new.php?post_type=page0.987 s0.609 s-0.378 s5.01 MiB5.13 MiB+ 121.2 KiB
/wp-admin/options-discussion.php0.299 s0.246 s-0.053 s2.67 MiB2.78 MiB+ 112.3 KiB
/wp-admin/edit-comments.php0.244 s0.181 s-0.063 s2.78 MiB2.82 MiB+ 47.8 KiB
/0.286 s0.349 s+0.063 s2.71 MiB2.69 MiB- 16.84 KiB
Average 0.431 s0.327 s-0.104 s3.16 MiB3.24 MiB+ 82.08 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
CSS
Language % Lines of code Comment lines Files
PHP47.9%1,94738725
JavaScript21.0%853229
SVG16.8%685420
CSS11.2%456443
JSON1.7%6902
Markdown1.4%5802
Total 4,068 457 61

PHP Code Analysis | More results »

Lines of code 1,826
Total complexity 302
Median class complexity 8.5
Median method complexity 1.0
Most complex class CF\WordPress\Hooks
Most complex function CF\WordPress\Hooks::getPostRelatedLinks()
Classes 22
Methods 146
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