Captcha for Contact Form 7 2.0.61

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: 161.53 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=da0b518a10
Aspect after-activation
HTTP status 200
Load time 0.406 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.251 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.168 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.215 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.349 s0.325 s-0.024 s3.47 MiB3.62 MiB+ 146.28 KiB
/wp-admin/edit.php0.215 s0.217 s+0.002 s3.54 MiB3.68 MiB+ 142.8 KiB
/wp-admin/post-new.php0.810 s0.621 s-0.189 s5.75 MiB5.92 MiB+ 167.21 KiB
/wp-admin/upload.php0.646 s0.429 s-0.217 s3.49 MiB3.62 MiB+ 132.93 KiB
/wp-admin/options-writing.php0.199 s0.408 s+0.209 s3.41 MiB3.6 MiB+ 196.05 KiB
/wp-admin/media-new.php0.247 s0.244 s-0.003 s3.4 MiB3.6 MiB+ 209.43 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.198 s+0.010 s3.47 MiB3.62 MiB+ 148.26 KiB
/wp-admin/post-new.php?post_type=page0.601 s0.619 s+0.018 s5.75 MiB5.91 MiB+ 163.58 KiB
/wp-admin/options-discussion.php0.231 s0.280 s+0.049 s3.41 MiB3.6 MiB+ 198.36 KiB
/wp-admin/edit-comments.php0.228 s0.206 s-0.022 s3.49 MiB3.62 MiB+ 133.23 KiB
/0.306 s0.211 s-0.095 s3.4 MiB3.54 MiB+ 138.66 KiB
Average 0.365 s0.342 s-0.024 s3.87 MiB4.03 MiB+ 161.53 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
PHP78.1%9,0915,18183
PO File9.3%1,0853902
CSS7.0%810713
Sass3.2%36801
JavaScript2.5%288787
SVG0.0%401
Total 11,646 5,720 97

PHP Code Analysis | More results »

Lines of code 9,148
Total complexity 1,396
Median class complexity 14.0
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 81
Methods 684
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

[17-Jul-2024 23:37:43 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 409
[17-Jul-2024 23:37:43 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 409
[17-Jul-2024 23:37:43 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 409
[17-Jul-2024 23:37:43 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 409
See also: All tests for this plugin, How to Hide Captcha for WordPress Admin Menus