Captcha for Contact Form 7 2.0.2

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=c1b2185b06
Aspect after-activation
HTTP status 200
Load time 0.352 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.176 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.169 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.172 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.317 s0.317 s+0.000 s3.44 MiB3.57 MiB+ 134.2 KiB
/wp-admin/edit.php0.198 s0.213 s+0.015 s3.46 MiB3.59 MiB+ 133.38 KiB
/wp-admin/post-new.php0.845 s0.577 s-0.268 s5.59 MiB5.75 MiB+ 162.46 KiB
/wp-admin/upload.php0.586 s0.388 s-0.198 s3.38 MiB3.5 MiB+ 120.19 KiB
/wp-admin/options-writing.php0.180 s0.207 s+0.027 s3.37 MiB3.48 MiB+ 109.98 KiB
/wp-admin/media-new.php0.263 s0.232 s-0.031 s3.35 MiB3.48 MiB+ 131.92 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.180 s-0.004 s3.37 MiB3.5 MiB+ 134.25 KiB
/wp-admin/post-new.php?post_type=page0.508 s0.547 s+0.039 s5.59 MiB5.74 MiB+ 158.84 KiB
/wp-admin/options-discussion.php0.204 s0.256 s+0.052 s3.36 MiB3.48 MiB+ 123.86 KiB
/wp-admin/edit-comments.php0.431 s0.203 s-0.228 s3.39 MiB3.51 MiB+ 117.96 KiB
/0.341 s0.186 s-0.155 s3.42 MiB3.49 MiB+ 77 KiB
Average 0.369 s0.301 s-0.068 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,7244,89479
PO File10.4%1,1747272
CSS7.1%808712
Sass3.3%36801
JavaScript2.2%244646
SVG0.0%401
Total 11,322 5,756 91

PHP Code Analysis | More results »

Lines of code 8,777
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

[10-Jun-2024 13:41:48 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
[10-Jun-2024 13:41:48 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