Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼293.84ms] Passed 4 tests
Analyzing server-side resources used by Advanced Google reCAPTCHA
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 54.06 ▲5.46 |
Dashboard /wp-admin | 3.44 ▲0.03 | 33.26 ▼0.28 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 37.22 ▲0.31 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 92.73 ▼1,175.58 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 26.37 ▲0.20 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 62 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Advanced Google reCAPTCHA: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,796 ▲74 | 16.00 ▲0.21 | 5.69 ▼0.14 | 2.41 ▲0.07 |
Dashboard /wp-admin | 2,925 ▲67 | 6.14 ▼0.02 | 119.10 ▼28.36 | 161.73 ▼4.90 |
Posts /wp-admin/edit.php | 2,724 ▲33 | 3.24 ▲0.01 | 65.22 ▲1.71 | 134.72 ▼10.69 |
Add New Post /wp-admin/post-new.php | 1,773 ▲56 | 21.00 ▼0.35 | 433.10 ▼22.05 | 158.30 ▼10.54 |
Media Library /wp-admin/upload.php | 1,731 ▲30 | 5.54 ▲0.00 | 144.67 ▲5.80 | 188.62 ▲3.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/index.php
- 24× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/tests/ReCaptcha/ResponseTest.php:39
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/src/ReCaptcha/RequestMethod/SocketPost.php:46
- > PHP Warning
require_once(wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/recaptcha-v3-verify.php on line 38
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/recaptcha-content-security-policy.php on line 38
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/recaptcha-v3-verify.php on line 38
- > PHP Warning
require_once(wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/recaptcha-v3-request-scores.php on line 38
- > PHP Warning
require_once(wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/recaptcha-v2-invisible.php on line 38
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/src/ReCaptcha/RequestMethod/CurlPost.php:46
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/recaptcha-v3-request-scores.php on line 38
- > PHP Warning
require_once(wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/advanced-google-recaptcha/vendor/google/recaptcha/examples/recaptcha-v2-checkbox-explicit.php on line 38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: You are using too many tags: 16 tag instead of maximum 10
advanced-google-recaptcha/advanced-google-recaptcha.php 92% from 13 tests
The main PHP script in "Advanced Google reCAPTCHA" version 1.0.4 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 213 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin3,103 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 555 | 1,931 | 2,632 |
Markdown | 3 | 56 | 0 | 197 |
CSS | 5 | 14 | 0 | 114 |
JSON | 2 | 0 | 0 | 95 |
JavaScript | 4 | 9 | 3 | 38 |
XML | 1 | 0 | 0 | 20 |
YAML | 1 | 2 | 0 | 6 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 125 | |
▷ Static methods | 19 | 15.20% |
▷ Public methods | 120 | 96.00% |
▷ Protected methods | 2 | 1.60% |
▷ Private methods | 3 | 2.40% |
Functions | 46 | |
▷ Named functions | 43 | 93.48% |
▷ Anonymous functions | 3 | 6.52% |
Constants | 18 | |
▷ Global constants | 6 | 33.33% |
▷ Class constants | 12 | 66.67% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin