hCaptcha for WordPress 3.1.0

Does hCaptcha for WordPress work with WordPress 6.3 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: 148.63 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.3
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=d382d1f628
Aspect after-activation
HTTP status 200
Load time 0.291 s
Memory usage 2.99 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.271 s
Memory usage 3 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.227 s
Memory usage 3.27 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.558 s0.401 s-0.157 s2.82 MiB2.97 MiB+ 152.36 KiB
/wp-admin/edit.php0.216 s0.206 s-0.010 s2.85 MiB3 MiB+ 151.73 KiB
/wp-admin/post-new.php1.120 s1.250 s+0.130 s5.21 MiB5.39 MiB+ 176.78 KiB
/wp-admin/upload.php0.872 s0.494 s-0.378 s2.77 MiB2.9 MiB+ 135.32 KiB
/wp-admin/options-writing.php0.224 s0.233 s+0.009 s2.76 MiB2.89 MiB+ 127.54 KiB
/wp-admin/media-new.php0.355 s0.278 s-0.077 s2.74 MiB2.88 MiB+ 146.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.218 s+0.015 s2.76 MiB2.91 MiB+ 152.31 KiB
/wp-admin/post-new.php?post_type=page1.025 s0.670 s-0.355 s5.21 MiB5.38 MiB+ 172.37 KiB
/wp-admin/options-discussion.php0.242 s0.421 s+0.179 s2.75 MiB2.88 MiB+ 137.32 KiB
/wp-admin/edit-comments.php0.444 s0.286 s-0.158 s2.78 MiB2.91 MiB+ 134.95 KiB
/0.284 s0.268 s-0.016 s3.13 MiB3.27 MiB+ 147.86 KiB
Average 0.504 s0.430 s-0.074 s3.25 MiB3.4 MiB+ 148.63 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
PHP82.7%7,6015,18799
JavaScript7.9%73010018
CSS6.4%58655
PO File1.5%140521
SVG1.4%12628
HTML0.1%501
Total 9,188 5,346 132

PHP Code Analysis | More results »

Lines of code 7,621
Total complexity 1,142
Median class complexity 7.0
Median method complexity 1.0
Most complex class HCaptcha\Settings\Abstracts\SettingsBase
Most complex function HCaptcha\Main::load_modules()
Classes 95
Methods 506
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

[09-Aug-2023 02:39:38 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 started.
[09-Aug-2023 02:39:38 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