Captcha for Contact Form 7 2.0.63

Does Captcha for Contact Form 7 work with WordPress 6.6 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 156.82 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.6
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 9,000+
WordPress.org page https://wordpress.org/plugins/captcha-for-contact-form-7/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=captcha-for-contact-form-7%2Ff12-cf7-captcha.php&plugin_status=all&paged=1&s&_wpnonce=cb2e3d6a9f
Aspect after-activation
HTTP status 200
Load time 0.397 s
Memory usage 3.7 MiB
JS errors None
Resource errors None

Forge12 Spam Protection

Page screenshot: Forge12 Spam Protection
URL /wp-admin/admin.php?page=f12-cf7-captcha
Aspect menu-item
HTTP status 200
Load time 0.286 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Forge12 Spam Protection → Log Entries

Page screenshot: Forge12 Spam Protection → Log Entries
URL /wp-admin/edit.php?post_type=f12_captcha_log
Aspect menu-item
HTTP status 200
Load time 0.220 s
Memory usage 3.66 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.213 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.353 s+0.009 s3.47 MiB3.62 MiB+ 146.36 KiB
/wp-admin/edit.php0.219 s0.261 s+0.042 s3.54 MiB3.68 MiB+ 142.88 KiB
/wp-admin/post-new.php0.811 s0.710 s-0.101 s5.75 MiB5.92 MiB+ 167.28 KiB
/wp-admin/upload.php0.611 s0.533 s-0.078 s3.49 MiB3.62 MiB+ 133.01 KiB
/wp-admin/options-writing.php0.230 s0.216 s-0.014 s3.41 MiB3.6 MiB+ 196.13 KiB
/wp-admin/media-new.php0.287 s0.283 s-0.004 s3.4 MiB3.6 MiB+ 209.51 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.242 s+0.035 s3.47 MiB3.62 MiB+ 148.34 KiB
/wp-admin/post-new.php?post_type=page0.596 s0.665 s+0.069 s5.75 MiB5.91 MiB+ 163.66 KiB
/wp-admin/options-discussion.php0.234 s0.317 s+0.083 s3.41 MiB3.6 MiB+ 198.44 KiB
/wp-admin/edit-comments.php0.248 s0.245 s-0.003 s3.49 MiB3.62 MiB+ 133.31 KiB
/0.323 s0.206 s-0.117 s3.45 MiB3.54 MiB+ 86.12 KiB
Average 0.374 s0.366 s-0.007 s3.88 MiB4.03 MiB+ 156.82 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
PO File
Language % Lines of code Comment lines Files
PHP77.0%9,2185,25986
PO File9.3%1,1094062
CSS7.4%887753
Sass3.8%45402
JavaScript2.4%293817
SVG0.0%401
Total 11,965 5,821 101

PHP Code Analysis | More results »

Lines of code 9,233
Total complexity 1,407
Median class complexity 13.5
Median method complexity 1.0
Most complex class f12_cf7_captcha\core\protection\captcha\Captcha
Most complex function f12_cf7_captcha\UI_Dashboard::the_content()
Classes 82
Methods 686
Functions 2

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.

Database Tables 5

Options wp_options 2

Custom Post Types 1

ID Name
f12_captcha_logCaptcha Log

PHP Error Log 4 lines

[21-Jul-2024 12:54:26 UTC] PHP Warning:  Undefined array key "protection_wordpress_comments_enable" in /wp-content/plugins/captcha-for-contact-form-7/ui/controller/UI_Dashboard.php on line 411
[21-Jul-2024 12:54:26 UTC] PHP Warning:  Undefined array key "protection_wordpress_enable" in /wp-content/plugins/captcha-for-contact-form-7/ui/controller/UI_Dashboard.php on line 411
[21-Jul-2024 12:54:26 UTC] PHP Warning:  Undefined array key "protection_wordpress_login_enable" in /wp-content/plugins/captcha-for-contact-form-7/ui/controller/UI_Dashboard.php on line 411
[21-Jul-2024 12:54:26 UTC] PHP Warning:  Undefined array key "protection_wordpress_registration_enable" in /wp-content/plugins/captcha-for-contact-form-7/ui/controller/UI_Dashboard.php on line 411
See also: All tests for this plugin, How to Hide Captcha for WordPress Admin Menus