Cloudflare 4.12.8

Does Cloudflare work with WordPress 6.8.3 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: 27.32 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.8.3
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=8f42d1b322
Aspect after-activation
HTTP status 200
Load time 0.405 s
Memory usage 3.55 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.574 s
Memory usage 3.54 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.188 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.342 s0.284 s-0.058 s3.51 MiB3.54 MiB+ 33.93 KiB
/wp-admin/edit.php0.202 s0.247 s+0.045 s3.57 MiB3.6 MiB+ 33.6 KiB
/wp-admin/post-new.php0.762 s0.670 s-0.092 s6.06 MiB6.1 MiB+ 38.36 KiB
/wp-admin/upload.php0.572 s0.694 s+0.122 s3.52 MiB3.54 MiB+ 16.56 KiB
/wp-admin/options-writing.php0.228 s0.218 s-0.010 s3.5 MiB3.52 MiB+ 20.55 KiB
/wp-admin/media-new.php0.313 s0.262 s-0.051 s3.49 MiB3.52 MiB+ 28.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.240 s0.207 s-0.033 s3.5 MiB3.54 MiB+ 39.42 KiB
/wp-admin/post-new.php?post_type=page0.614 s0.570 s-0.044 s6.05 MiB6.08 MiB+ 33.88 KiB
/wp-admin/options-discussion.php0.260 s0.293 s+0.033 s3.5 MiB3.52 MiB+ 17.05 KiB
/wp-admin/edit-comments.php0.210 s0.202 s-0.008 s3.52 MiB3.54 MiB+ 16.55 KiB
/0.315 s0.398 s+0.083 s3.43 MiB3.46 MiB+ 21.89 KiB
Average 0.369 s0.368 s-0.001 s3.97 MiB4 MiB+ 27.32 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.9%3,82695761
JavaScript13.5%798459
SVG11.6%685420
CSS7.7%456443
JSON1.2%7302
Markdown1.0%5802
Total 5,896 1,050 97

PHP Code Analysis | More results »

Lines of code 3,705
Total complexity 551
Median class complexity 7.0
Median method complexity 1.0
Most complex class CF\WordPress\Hooks
Most complex function CF\WordPress\Hooks::purgeCacheByRelevantURLs()
Classes 51
Methods 310
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