hCaptcha for WordPress 3.5.0

Does hCaptcha for WordPress work with WordPress 6.4.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: 151.82 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.4.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=aa9d9f5837
Aspect after-activation
HTTP status 200
Load time 0.367 s
Memory usage 3.57 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.377 s
Memory usage 3.57 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.226 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.512 s0.471 s-0.041 s3.38 MiB3.54 MiB+ 163.73 KiB
/wp-admin/edit.php0.285 s0.289 s+0.004 s3.41 MiB3.56 MiB+ 162.99 KiB
/wp-admin/post-new.php1.173 s1.056 s-0.117 s5.46 MiB5.62 MiB+ 168.73 KiB
/wp-admin/upload.php0.707 s0.657 s-0.050 s3.32 MiB3.47 MiB+ 147.05 KiB
/wp-admin/options-writing.php0.305 s0.265 s-0.040 s3.32 MiB3.45 MiB+ 139.9 KiB
/wp-admin/media-new.php0.398 s0.317 s-0.081 s3.29 MiB3.45 MiB+ 158.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.275 s0.259 s-0.016 s3.31 MiB3.47 MiB+ 164.05 KiB
/wp-admin/post-new.php?post_type=page0.696 s0.683 s-0.013 s5.45 MiB5.61 MiB+ 164.3 KiB
/wp-admin/options-discussion.php0.436 s0.351 s-0.085 s3.3 MiB3.45 MiB+ 149.05 KiB
/wp-admin/edit-comments.php0.309 s0.291 s-0.018 s3.33 MiB3.48 MiB+ 146.68 KiB
/0.382 s0.529 s+0.147 s3.36 MiB3.46 MiB+ 105.36 KiB
Average 0.498 s0.470 s-0.028 s3.72 MiB3.87 MiB+ 151.82 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
JavaScript
Language % Lines of code Comment lines Files
PHP78.3%9,6726,634123
JavaScript10.3%1,27020233
CSS5.1%62558
PO File4.2%5132372
SVG2.2%267210
HTML0.0%501
Total 12,352 7,080 177

PHP Code Analysis | More results »

Lines of code 9,727
Total complexity 1,474
Median class complexity 7.0
Median method complexity 1.0
Most complex class KAGG\Settings\Abstracts\SettingsBase
Most complex function HCaptcha\Main::load_modules()
Classes 119
Methods 656
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

[12-Dec-2023 14:02:18 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 started.
[12-Dec-2023 14:02:18 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