Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/are-you-robot-recaptcha/google-new-recaptcha.php+141
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.83MB] [CPU: ▼53.06ms] Passed 4 tests
A check of server-side resources used by Are you robot google recaptcha for wordpress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 5.14 ▼35.00 |
Dashboard /wp-admin | 2.18 ▼1.13 | 6.01 ▼43.54 |
Posts /wp-admin/edit.php | 2.18 ▼1.18 | 7.68 ▼40.29 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.71 | 6.44 ▼93.42 |
Media Library /wp-admin/upload.php | 2.18 ▼1.05 | 5.89 ▼27.16 |
reCAPTCHA /wp-admin/options-general.php?page=re-captcha-config | 2.18 | 6.32 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Are you robot google recaptcha for wordpress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.60 ▼0.76 | 4.36 ▲2.32 | 40.36 ▼3.96 |
Dashboard /wp-admin | 2,204 ▲19 | 5.83 ▼0.18 | 103.15 ▼0.47 | 40.65 ▼2.40 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.17 ▲0.15 | 39.56 ▲0.11 | 35.29 ▲0.43 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.66 ▼5.65 | 661.22 ▼34.29 | 51.42 ▼7.66 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.24 ▲0.05 | 95.19 ▼13.08 | 43.96 ▼0.74 |
reCAPTCHA /wp-admin/options-general.php?page=re-captcha-config | 1,075 | 6.89 | 102.18 | 57.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/are-you-robot-recaptcha/google-new-recaptcha.php+141
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 17 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=re-captcha-config
- > Notice in wp-content/plugins/are-you-robot-recaptcha/google-new-recaptcha.php+83
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=re-captcha-config
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/options-general.php?page=re-captcha-config
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: These screenshots have no corresponding images in /assets: #1 (screenshot-1.png), #2 (screenshot-2.png)
are-you-robot-recaptcha/google-new-recaptcha.php 92% from 13 tests
"Are you robot google recaptcha for wordpress" version 2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("are-you-robot-recaptcha.php" instead of "google-new-recaptcha.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected349 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 94 | 12 | 349 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.10MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 73.85KB | 25.05KB | ▼ 66.08% |
assets/screenshot-1.png | 31.79KB | 9.46KB | ▼ 70.25% |