VAPTCHA智能人机验证 3.0.3

Does "VAPTCHA:the CAPTCHA from future" work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
7PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 61.04 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 version5.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/vaptcha/
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=vaptcha%2Fvaptcha.php&plugin_status=all&paged=1&s&_wpnonce=542cfce057
Aspect after-activation
HTTP status 200
Load time 0.235 s
Memory usage 2.77 MiB
JS errors None
Resource errors None

Settings → VAPTCHA

Page screenshot: Settings → VAPTCHA
URL /wp-admin/options-general.php?page=vaptcha
Aspect menu-item
HTTP status 200
Load time 0.387 s
Memory usage 2.73 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.183 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.263 s0.265 s+0.002 s2.82 MiB2.88 MiB+ 57.03 KiB
/wp-admin/edit.php0.181 s0.185 s+0.004 s2.86 MiB2.92 MiB+ 57.03 KiB
/wp-admin/post-new.php0.901 s1.136 s+0.235 s5.02 MiB5.13 MiB+ 104.93 KiB
/wp-admin/upload.php0.529 s0.576 s+0.047 s2.7 MiB2.75 MiB+ 55.9 KiB
/wp-admin/options-writing.php0.249 s0.165 s-0.084 s2.71 MiB2.73 MiB+ 23.88 KiB
/wp-admin/media-new.php0.216 s0.182 s-0.034 s2.67 MiB2.73 MiB+ 56.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.173 s-0.018 s2.77 MiB2.83 MiB+ 56.98 KiB
/wp-admin/post-new.php?post_type=page1.224 s0.660 s-0.564 s5.01 MiB5.11 MiB+ 100.52 KiB
/wp-admin/options-discussion.php0.321 s0.207 s-0.114 s2.67 MiB2.73 MiB+ 56.38 KiB
/wp-admin/edit-comments.php0.221 s0.198 s-0.023 s2.78 MiB2.83 MiB+ 55.88 KiB
/0.255 s0.205 s-0.050 s2.65 MiB2.7 MiB+ 46.89 KiB
Average 0.414 s0.359 s-0.054 s3.15 MiB3.21 MiB+ 61.04 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
CSS
PO File
Language % Lines of code Comment lines Files
PHP72.4%739907
CSS16.9%173401
PO File8.6%88611
JavaScript2.1%2101
Total 1,021 191 10

PHP Code Analysis | More results »

Lines of code 707
Total complexity 110
Median class complexity 52.0
Median method complexity 2.0
Most complex class Vaptcha
Most complex function vaptcha_options_page_html()
Classes 2
Methods 43
Functions 1

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 1

PHP Error Log 7 lines

[15-Mar-2021 02:46:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/vaptcha/VaptchaPlugin.php on line 21
[15-Mar-2021 02:46:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/vaptcha/VaptchaPlugin.php on line 21
[15-Mar-2021 02:46:45 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-includes/option.php on line 2365
[15-Mar-2021 02:46:48 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>vaptcha/getchallenge</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5313
[15-Mar-2021 02:46:48 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>vaptcha/offline</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5313
[15-Mar-2021 02:46:51 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>vaptcha/getchallenge</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5313
[15-Mar-2021 02:46:51 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>vaptcha/offline</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5313
See also: All tests for this plugin, How to Hide the "VAPTCHA" Admin Menu