Cloudflare 4.14.3

Does Cloudflare work with WordPress 7.0.1 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: 31.61 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 version7.0.1
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=a3aad9e75d
Aspect after-activation
HTTP status 200
Load time 0.892 s
Memory usage 3.92 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.760 s
Memory usage 3.92 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.198 s
Memory usage 4.27 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.615 s0.693 s+0.078 s3.92 MiB3.96 MiB+ 35.49 KiB
/wp-admin/edit.php0.533 s0.535 s+0.002 s3.98 MiB4.02 MiB+ 35.13 KiB
/wp-admin/post-new.php1.981 s1.883 s-0.098 s6.56 MiB6.6 MiB+ 47.92 KiB
/wp-admin/upload.php0.737 s0.660 s-0.077 s3.89 MiB3.91 MiB+ 18.09 KiB
/wp-admin/options-writing.php0.537 s0.521 s-0.016 s3.86 MiB3.88 MiB+ 22.08 KiB
/wp-admin/media-new.php0.566 s0.549 s-0.017 s3.85 MiB3.88 MiB+ 30.27 KiB
/wp-admin/edit-tags.php?taxonomy=category0.481 s0.905 s+0.424 s3.86 MiB3.9 MiB+ 35.45 KiB
/wp-admin/post-new.php?post_type=page1.811 s1.374 s-0.437 s6.55 MiB6.59 MiB+ 43.45 KiB
/wp-admin/options-discussion.php0.713 s0.533 s-0.180 s3.86 MiB3.88 MiB+ 18.58 KiB
/wp-admin/edit-comments.php0.528 s0.845 s+0.317 s3.88 MiB3.9 MiB+ 18.08 KiB
/0.285 s0.225 s-0.060 s4.23 MiB4.27 MiB+ 43.14 KiB
Average 0.799 s0.793 s-0.006 s4.41 MiB4.44 MiB+ 31.61 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
PHP56.8%2,7361,18483
JavaScript16.6%798459
SVG14.2%685420
CSS9.5%456443
JSON1.7%8002
Markdown1.2%5802
Ant0.2%801
Total 4,821 1,277 120

PHP Code Analysis | More results »

Lines of code 2,602
Total complexity 484
Median class complexity 1.0
Median method complexity 1.0
Most complex class Cloudflare\APO\WordPress\Hooks
Most complex function Cloudflare\APO\WordPress\Hooks::purgeCacheByRelevantURLs()
Classes 65
Methods 247
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