hCaptcha for WordPress 2.0.0

Does hCaptcha for WordPress work with WordPress 6.1.1 and PHP 7.4.8? 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: 128.65 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.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=841b448c01
Aspect after-activation
HTTP status 200
Load time 0.307 s
Memory usage 3.63 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.373 s
Memory usage 3.58 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.284 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.580 s0.266 s-0.314 s3.54 MiB3.65 MiB+ 112.7 KiB
/wp-admin/edit.php0.214 s0.209 s-0.005 s3.57 MiB3.68 MiB+ 112.1 KiB
/wp-admin/post-new.php1.087 s1.113 s+0.026 s5.46 MiB5.58 MiB+ 117.4 KiB
/wp-admin/upload.php0.572 s0.299 s-0.273 s3.41 MiB3.58 MiB+ 175.56 KiB
/wp-admin/options-writing.php0.283 s0.176 s-0.107 s3.4 MiB3.56 MiB+ 158 KiB
/wp-admin/media-new.php0.299 s0.230 s-0.069 s3.39 MiB3.56 MiB+ 175.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.219 s0.222 s+0.003 s3.48 MiB3.59 MiB+ 112.64 KiB
/wp-admin/post-new.php?post_type=page0.742 s0.870 s+0.128 s5.46 MiB5.57 MiB+ 112.95 KiB
/wp-admin/options-discussion.php0.255 s0.383 s+0.128 s3.38 MiB3.56 MiB+ 176.02 KiB
/wp-admin/edit-comments.php0.247 s0.256 s+0.009 s3.48 MiB3.59 MiB+ 111.55 KiB
/0.346 s0.430 s+0.084 s3.47 MiB3.51 MiB+ 50.52 KiB
Average 0.440 s0.405 s-0.035 s3.82 MiB3.95 MiB+ 128.65 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
PHP87.5%3,8882,53651
CSS6.3%27853
PO File3.1%140521
JavaScript2.7%120238
SVG0.2%1004
HTML0.2%901
Total 4,445 2,616 68

PHP Code Analysis | More results »

Lines of code 3,904
Total complexity 620
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 37
Methods 263
Functions 36

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

User Metadata wp_usermeta 1

PHP Error Log 2 lines

[16-Nov-2022 03:34:19 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 started.
[16-Nov-2022 03:34:19 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