Captcha for Contact Form 7 2.0.5

Does Captcha for Contact Form 7 work with WordPress 6.5.5 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: 135.8 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.5
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=0524c6eb8a
Aspect after-activation
HTTP status 200
Load time 0.383 s
Memory usage 3.59 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.223 s
Memory usage 3.49 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.195 s
Memory usage 3.55 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.190 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.369 s0.324 s-0.045 s3.44 MiB3.57 MiB+ 142.32 KiB
/wp-admin/edit.php0.210 s0.224 s+0.014 s3.46 MiB3.6 MiB+ 141.5 KiB
/wp-admin/post-new.php0.961 s0.851 s-0.110 s5.59 MiB5.76 MiB+ 170.58 KiB
/wp-admin/upload.php0.596 s0.480 s-0.116 s3.38 MiB3.51 MiB+ 128.3 KiB
/wp-admin/options-writing.php0.229 s0.209 s-0.020 s3.37 MiB3.49 MiB+ 118.41 KiB
/wp-admin/media-new.php0.308 s0.266 s-0.042 s3.35 MiB3.49 MiB+ 140.04 KiB
/wp-admin/edit-tags.php?taxonomy=category0.212 s0.202 s-0.010 s3.37 MiB3.51 MiB+ 142.37 KiB
/wp-admin/post-new.php?post_type=page0.547 s0.617 s+0.070 s5.59 MiB5.75 MiB+ 166.95 KiB
/wp-admin/options-discussion.php0.349 s0.265 s-0.084 s3.36 MiB3.49 MiB+ 131.98 KiB
/wp-admin/edit-comments.php0.224 s0.487 s+0.263 s3.39 MiB3.51 MiB+ 126.08 KiB
/0.301 s0.216 s-0.085 s3.42 MiB3.5 MiB+ 85.24 KiB
Average 0.391 s0.376 s-0.015 s3.79 MiB3.92 MiB+ 135.8 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,0905,17883
PO File9.3%1,0853902
CSS7.0%810713
Sass3.2%36801
JavaScript2.5%288787
SVG0.0%401
Total 11,645 5,717 97

PHP Code Analysis | More results »

Lines of code 9,147
Total complexity 1,397
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

[26-Jun-2024 07:01:38 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
[26-Jun-2024 07:01:38 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
[26-Jun-2024 07:01:38 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
[26-Jun-2024 07:01:38 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