hCaptcha for WordPress 3.0.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: 141.33 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=38cb9a2ddc
Aspect after-activation
HTTP status 200
Load time 0.232 s
Memory usage 3.23 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.195 s
Memory usage 3.25 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.207 s
Memory usage 3.17 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.255 s0.227 s-0.028 s3.07 MiB3.21 MiB+ 143.59 KiB
/wp-admin/edit.php0.159 s0.167 s+0.008 s3.1 MiB3.24 MiB+ 142.96 KiB
/wp-admin/post-new.php0.682 s0.567 s-0.115 s5.02 MiB5.17 MiB+ 147.95 KiB
/wp-admin/upload.php0.645 s0.546 s-0.099 s3.02 MiB3.14 MiB+ 126.18 KiB
/wp-admin/options-writing.php0.151 s0.146 s-0.005 s3.01 MiB3.12 MiB+ 112.94 KiB
/wp-admin/media-new.php0.234 s0.187 s-0.047 s2.99 MiB3.13 MiB+ 137.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.162 s0.160 s-0.002 s3.01 MiB3.15 MiB+ 143.54 KiB
/wp-admin/post-new.php?post_type=page0.539 s0.515 s-0.024 s5.01 MiB5.15 MiB+ 143.54 KiB
/wp-admin/options-discussion.php0.213 s0.224 s+0.011 s3 MiB3.12 MiB+ 126.67 KiB
/wp-admin/edit-comments.php0.222 s0.193 s-0.029 s3.03 MiB3.15 MiB+ 126.17 KiB
/0.321 s0.200 s-0.121 s2.97 MiB3.17 MiB+ 203.51 KiB
Average 0.326 s0.285 s-0.041 s3.38 MiB3.52 MiB+ 141.33 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
PHP84.8%7,3805,07998
JavaScript7.1%6168517
CSS5.4%47254
PO File1.6%140521
SVG1.0%9127
HTML0.1%501
Total 8,704 5,223 128

PHP Code Analysis | More results »

Lines of code 7,400
Total complexity 1,107
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 94
Methods 495
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

[03-Aug-2023 06:23:44 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 started.
[03-Aug-2023 06:23:44 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