Captcha for Contact Form 7 2.0.3

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: 127.64 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=ea8f539244
Aspect after-activation
HTTP status 200
Load time 0.404 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.208 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.172 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.205 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.364 s0.323 s-0.041 s3.44 MiB3.57 MiB+ 134.2 KiB
/wp-admin/edit.php0.220 s0.232 s+0.012 s3.46 MiB3.59 MiB+ 133.38 KiB
/wp-admin/post-new.php0.887 s0.758 s-0.129 s5.59 MiB5.75 MiB+ 162.46 KiB
/wp-admin/upload.php0.560 s0.453 s-0.107 s3.38 MiB3.5 MiB+ 120.19 KiB
/wp-admin/options-writing.php0.206 s0.233 s+0.027 s3.37 MiB3.48 MiB+ 109.98 KiB
/wp-admin/media-new.php0.282 s0.254 s-0.028 s3.35 MiB3.48 MiB+ 131.92 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.209 s-0.001 s3.37 MiB3.5 MiB+ 134.25 KiB
/wp-admin/post-new.php?post_type=page0.555 s0.565 s+0.010 s5.59 MiB5.74 MiB+ 158.84 KiB
/wp-admin/options-discussion.php0.311 s0.277 s-0.034 s3.36 MiB3.48 MiB+ 123.86 KiB
/wp-admin/edit-comments.php0.247 s0.463 s+0.216 s3.39 MiB3.51 MiB+ 117.96 KiB
/0.294 s0.212 s-0.082 s3.42 MiB3.49 MiB+ 77 KiB
Average 0.376 s0.362 s-0.014 s3.79 MiB3.92 MiB+ 127.64 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.1%8,7254,90179
PO File10.4%1,1747272
CSS7.1%808712
Sass3.3%36801
JavaScript2.1%242646
SVG0.0%401
Total 11,321 5,763 91

PHP Code Analysis | More results »

Lines of code 8,778
Total complexity 1,359
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 659
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

[11-Jun-2024 14:06:15 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 442
[11-Jun-2024 14:06:15 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 442
See also: All tests for this plugin, How to Hide Captcha for WordPress Admin Menus