Captcha for Contact Form 7 2.0.4

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

Summary

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

Memory usage: 128.75 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.5.4
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=1bad122878
Aspect after-activation
HTTP status 200
Load time 0.434 s
Memory usage 3.58 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.238 s
Memory usage 3.48 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.193 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.196 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.360 s0.337 s-0.023 s3.44 MiB3.57 MiB+ 135.28 KiB
/wp-admin/edit.php0.210 s0.230 s+0.020 s3.46 MiB3.59 MiB+ 134.46 KiB
/wp-admin/post-new.php0.973 s0.635 s-0.338 s5.59 MiB5.75 MiB+ 163.54 KiB
/wp-admin/upload.php0.554 s0.495 s-0.059 s3.38 MiB3.5 MiB+ 121.27 KiB
/wp-admin/options-writing.php0.225 s0.222 s-0.003 s3.37 MiB3.48 MiB+ 111.05 KiB
/wp-admin/media-new.php0.289 s0.294 s+0.005 s3.35 MiB3.48 MiB+ 133 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.201 s-0.001 s3.37 MiB3.5 MiB+ 135.33 KiB
/wp-admin/post-new.php?post_type=page0.547 s0.593 s+0.046 s5.59 MiB5.74 MiB+ 159.91 KiB
/wp-admin/options-discussion.php0.232 s0.384 s+0.152 s3.36 MiB3.48 MiB+ 124.94 KiB
/wp-admin/edit-comments.php0.484 s0.254 s-0.230 s3.39 MiB3.51 MiB+ 119.04 KiB
/0.355 s0.235 s-0.120 s3.42 MiB3.49 MiB+ 78.39 KiB
Average 0.403 s0.353 s-0.050 s3.79 MiB3.92 MiB+ 128.75 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%8,9314,98879
PO File9.5%1,0853902
CSS7.1%810713
Sass3.2%36801
JavaScript2.1%242646
SVG0.0%401
Total 11,440 5,513 92

PHP Code Analysis | More results »

Lines of code 8,988
Total complexity 1,366
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 77
Methods 663
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 2 lines

[13-Jun-2024 13:00:50 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 412
[13-Jun-2024 13:00:50 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 412
See also: All tests for this plugin, How to Hide Captcha for WordPress Admin Menus