hCaptcha for WordPress 2.1.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: 132.97 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=3a570b4088
Aspect after-activation
HTTP status 200
Load time 0.293 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.205 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.354 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.314 s0.301 s-0.013 s3.54 MiB3.66 MiB+ 117.04 KiB
/wp-admin/edit.php0.185 s0.210 s+0.025 s3.57 MiB3.69 MiB+ 116.41 KiB
/wp-admin/post-new.php1.190 s0.981 s-0.209 s5.46 MiB5.58 MiB+ 121.71 KiB
/wp-admin/upload.php0.697 s0.557 s-0.140 s3.41 MiB3.58 MiB+ 179.88 KiB
/wp-admin/options-writing.php0.177 s0.213 s+0.036 s3.4 MiB3.56 MiB+ 162.31 KiB
/wp-admin/media-new.php0.269 s0.225 s-0.044 s3.39 MiB3.56 MiB+ 180.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.203 s+0.000 s3.48 MiB3.59 MiB+ 116.95 KiB
/wp-admin/post-new.php?post_type=page1.081 s0.981 s-0.100 s5.46 MiB5.57 MiB+ 117.27 KiB
/wp-admin/options-discussion.php0.256 s0.211 s-0.045 s3.38 MiB3.56 MiB+ 180.33 KiB
/wp-admin/edit-comments.php0.217 s0.220 s+0.003 s3.48 MiB3.59 MiB+ 115.86 KiB
/0.351 s0.224 s-0.127 s3.47 MiB3.52 MiB+ 54.84 KiB
Average 0.449 s0.393 s-0.056 s3.82 MiB3.95 MiB+ 132.97 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
PHP88.3%4,2012,78556
CSS5.9%28053
PO File2.9%140521
JavaScript2.5%120238
SVG0.2%1004
HTML0.2%901
Total 4,760 2,865 73

PHP Code Analysis | More results »

Lines of code 4,217
Total complexity 670
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 42
Methods 286
Functions 38

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

[18-Nov-2022 17:06:53 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 started.
[18-Nov-2022 17:06:53 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