hCaptcha for WordPress 2.8.0

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

Summary

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

Memory usage: 106.05 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.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 50,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=8e49024a8d
Aspect after-activation
HTTP status 200
Load time 0.464 s
Memory usage 3.2 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.196 s
Memory usage 3.13 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.250 s
Memory usage 3.13 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.294 s0.261 s-0.033 s3.07 MiB3.18 MiB+ 109.83 KiB
/wp-admin/edit.php0.215 s0.198 s-0.017 s3.1 MiB3.21 MiB+ 109.2 KiB
/wp-admin/post-new.php0.760 s0.912 s+0.152 s5.02 MiB5.13 MiB+ 108.7 KiB
/wp-admin/upload.php0.547 s0.315 s-0.232 s3.02 MiB3.11 MiB+ 92.42 KiB
/wp-admin/options-writing.php0.175 s0.139 s-0.036 s3.01 MiB3.09 MiB+ 79.18 KiB
/wp-admin/media-new.php0.379 s0.327 s-0.052 s2.99 MiB3.09 MiB+ 103.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.217 s+0.027 s3.01 MiB3.11 MiB+ 109.78 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.597 s-0.011 s5.01 MiB5.12 MiB+ 104.28 KiB
/wp-admin/options-discussion.php0.209 s0.222 s+0.013 s3 MiB3.09 MiB+ 92.91 KiB
/wp-admin/edit-comments.php0.213 s0.206 s-0.007 s3.03 MiB3.12 MiB+ 92.41 KiB
/0.311 s0.213 s-0.098 s2.97 MiB3.13 MiB+ 163.91 KiB
Average 0.355 s0.328 s-0.027 s3.38 MiB3.49 MiB+ 106.05 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
Language % Lines of code Comment lines Files
PHP86.5%5,4833,82877
JavaScript5.7%3635112
CSS5.3%33353
PO File2.2%140521
SVG0.2%1004
HTML0.1%901
Total 6,338 3,936 98

PHP Code Analysis | More results »

Lines of code 5,500
Total complexity 827
Median class complexity 6.0
Median method complexity 1.0
Most complex class HCaptcha\Settings\Abstracts\SettingsBase
Most complex function HCaptcha\Main::load_modules()
Classes 73
Methods 397
Functions 15

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.

Options wp_options 2

PHP Error Log 2 lines

[20-May-2023 13:47:16 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 started.
[20-May-2023 13:47:16 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 completed.
See also: All tests for this plugin, How to Hide hCaptcha for WordPress Admin Menus