Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.75ms] Passed 4 tests
Server-side resources used by My reCaptcha
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 32.98 ▼5.91 |
Dashboard /wp-admin | 3.34 ▼0.00 | 44.83 ▼15.57 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 49.70 ▲3.90 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 84.39 ▼18.74 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.27 ▲1.24 |
reCaptcha /wp-admin/options-general.php?page=my-recaptcha | 3.23 | 31.16 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for My reCaptcha
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.27 ▼1.13 | 1.96 ▲0.11 | 39.32 ▼2.04 |
Dashboard /wp-admin | 2,213 ▲25 | 5.89 ▲0.98 | 100.81 ▼2.98 | 41.36 ▼3.56 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.02 | 36.60 ▼1.24 | 30.69 ▼3.64 |
Add New Post /wp-admin/post-new.php | 1,541 ▲10 | 23.20 ▲4.88 | 668.99 ▲62.06 | 51.76 ▼2.83 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.17 ▼0.02 | 96.01 ▼2.52 | 42.71 ▼0.76 |
reCaptcha /wp-admin/options-general.php?page=my-recaptcha | 797 | 2.03 | 25.16 | 25.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (screenshot)
my-recaptcha/my-recaptcha.php Passed 13 tests
This is the main PHP file of "My reCaptcha" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
26 characters long description:
Google reCaptcha V2 plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin200 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 49 | 42 | 198 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 26.93KB | 11.31KB | ▼ 57.99% |