hCaptcha for WP 4.0.1

Does hCaptcha for WordPress work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
6Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 236.07 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 60,000+
WordPress.org page https://wordpress.org/plugins/hcaptcha-for-forms-and-more/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=hcaptcha-for-forms-and-more%2Fhcaptcha.php&plugin_status=all&paged=1&s&_wpnonce=5dfadbd170
Aspect after-activation
HTTP status 200
Load time 0.602 s
Memory usage 3.93 MiB
JS errors None
Resource errors None

Settings → hCaptcha

Page screenshot: Settings → hCaptcha
URL /wp-admin/options-general.php?page=hcaptcha
Aspect menu-item
HTTP status 200
Load time 0.322 s
Memory usage 8 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.201 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.343 s0.326 s-0.017 s3.44 MiB3.68 MiB+ 248.98 KiB
/wp-admin/edit.php0.191 s0.199 s+0.008 s3.46 MiB3.7 MiB+ 241.88 KiB
/wp-admin/post-new.php0.853 s0.694 s-0.159 s5.59 MiB5.85 MiB+ 268.3 KiB
/wp-admin/upload.php0.586 s0.445 s-0.141 s3.38 MiB3.61 MiB+ 231.88 KiB
/wp-admin/options-writing.php0.222 s0.173 s-0.049 s3.37 MiB3.59 MiB+ 218.96 KiB
/wp-admin/media-new.php0.281 s0.253 s-0.028 s3.35 MiB3.58 MiB+ 237.83 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.183 s+0.000 s3.37 MiB3.61 MiB+ 249.02 KiB
/wp-admin/post-new.php?post_type=page0.525 s0.569 s+0.044 s5.59 MiB5.84 MiB+ 263.88 KiB
/wp-admin/options-discussion.php0.341 s0.466 s+0.125 s3.36 MiB3.59 MiB+ 233.88 KiB
/wp-admin/edit-comments.php0.246 s0.273 s+0.027 s3.39 MiB3.61 MiB+ 226.37 KiB
/0.292 s0.192 s-0.100 s3.42 MiB3.59 MiB+ 175.75 KiB
Average 0.369 s0.343 s-0.026 s3.79 MiB4.02 MiB+ 236.07 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
JavaScript
Language % Lines of code Comment lines Files
PHP73.3%13,7239,422149
JavaScript10.8%2,02929243
SVG7.1%1,330231
CSS5.8%1,094812
PO File2.7%5132372
YAML0.1%2401
HTML0.0%501
Total 18,718 9,961 239

PHP Code Analysis | More results »

Lines of code 13,861
Total complexity 2,029
Median class complexity 8.0
Median method complexity 1.0
Most complex class KAGG\Settings\Abstracts\SettingsBase
Most complex function HCaptcha\Main::load_modules()
Classes 144
Methods 894
Functions 12

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 1

Options wp_options 2

PHP Error Log 6 lines

[18-Apr-2024 07:23:29 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 started.
[18-Apr-2024 07:23:29 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 completed.
[18-Apr-2024 07:23:29 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 3.6.0 started.
[18-Apr-2024 07:23:29 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 3.6.0 completed.
[18-Apr-2024 07:23:29 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 4.0.0 started.
[18-Apr-2024 07:23:29 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 4.0.0 completed.
See also: All tests for this plugin, How to Hide hCaptcha for WP Admin Menus