Cloudflare 4.5.1

Does Cloudflare work with WordPress 5.8.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: 59.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.8.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=6f7f349fe3
Aspect after-activation
HTTP status 200
Load time 0.288 s
Memory usage 3.09 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 3.09 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.296 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.355 s0.280 s-0.075 s3.08 MiB3.19 MiB+ 112.88 KiB
/wp-admin/edit.php0.181 s0.201 s+0.020 s3.11 MiB3.22 MiB+ 112.52 KiB
/wp-admin/post-new.php1.171 s1.073 s-0.098 s5.27 MiB5.32 MiB+ 53.55 KiB
/wp-admin/upload.php0.565 s0.503 s-0.062 s3.03 MiB3.08 MiB+ 47.75 KiB
/wp-admin/options-writing.php0.159 s0.136 s-0.023 s3.02 MiB3.05 MiB+ 31.73 KiB
/wp-admin/media-new.php0.289 s0.200 s-0.089 s3.01 MiB3.05 MiB+ 47.92 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.182 s-0.020 s3.04 MiB3.09 MiB+ 48.83 KiB
/wp-admin/post-new.php?post_type=page1.187 s1.267 s+0.080 s5.26 MiB5.31 MiB+ 49.14 KiB
/wp-admin/options-discussion.php0.283 s0.328 s+0.045 s3 MiB3.05 MiB+ 48.23 KiB
/wp-admin/edit-comments.php0.243 s0.276 s+0.033 s3.04 MiB3.09 MiB+ 47.73 KiB
/0.400 s0.325 s-0.075 s2.96 MiB3.01 MiB+ 55.11 KiB
Average 0.458 s0.434 s-0.024 s3.44 MiB3.5 MiB+ 59.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
CSS
Language % Lines of code Comment lines Files
PHP48.1%1,96439325
JavaScript20.9%853229
SVG16.8%685420
CSS11.2%456443
JSON1.7%7102
Markdown1.4%5802
Total 4,087 463 61

PHP Code Analysis | More results »

Lines of code 1,843
Total complexity 308
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