Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.68MB] [CPU: ▲1.42ms] Passed 4 tests
A check of server-side resources used by TomS reCAPTCHA
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.13 ▲0.67 | 39.78 ▲1.47 |
Dashboard /wp-admin | 4.04 ▲0.73 | 51.20 ▲3.69 |
Posts /wp-admin/edit.php | 4.09 ▲0.73 | 53.74 ▲8.19 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 100.10 ▼6.64 |
Media Library /wp-admin/upload.php | 3.90 ▲0.67 | 43.63 ▲7.15 |
Dashboard /wp-admin/admin.php?page=toms-wp | 3.87 | 37.85 |
TomS reCAPTCHA /wp-admin/admin.php?page=toms-recaptcha-settings | 3.86 | 49.40 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for TomS reCAPTCHA
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲190 | 13.14 ▼1.16 | 5.00 ▲3.40 | 39.44 ▼5.99 |
Dashboard /wp-admin | 2,300 ▲112 | 5.84 ▲0.93 | 105.05 ▼7.22 | 40.76 ▼6.63 |
Posts /wp-admin/edit.php | 2,196 ▲107 | 2.15 ▲0.14 | 40.22 ▼6.53 | 35.54 ▲0.21 |
Add New Post /wp-admin/post-new.php | 1,562 ▲29 | 23.42 ▲0.20 | 674.44 ▲80.80 | 54.48 ▼7.35 |
Media Library /wp-admin/upload.php | 1,485 ▲97 | 4.32 ▲0.15 | 102.14 ▲3.30 | 43.92 ▲1.92 |
Dashboard /wp-admin/admin.php?page=toms-wp | 1,178 | 2.07 | 28.09 | 49.02 |
TomS reCAPTCHA /wp-admin/admin.php?page=toms-recaptcha-settings | 1,620 | 1.69 | 27.85 | 41.56 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: There are too many tags (17 tag instead of maximum 10)
toms-recaptcha/toms-recaptcha.php 85% from 13 tests
"TomS reCAPTCHA" version 1.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 163 characters long)
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.4" instead of "7.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected3,589 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 469 | 459 | 2,574 |
CSS | 5 | 22 | 7 | 433 |
PO File | 2 | 80 | 109 | 239 |
SVG | 2 | 1 | 1 | 191 |
JSON | 2 | 0 | 0 | 152 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 105.17 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 203.00 |
Average method complexity | 8.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 84 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 83 | 98.81% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.19% |
Functions | 1 | |
▷ Named functions | 1 | 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
13 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/assets/img/toms-social-login.png | 6.14KB | 4.15KB | ▼ 32.34% |
inc/assets/img/reCAPTCHAv3.png | 10.77KB | 3.07KB | ▼ 71.48% |
vendor/assets/img/toms-recaptcha.png | 13.43KB | 3.27KB | ▼ 75.67% |
vendor/assets/img/toms-video-player.png | 8.10KB | 3.04KB | ▼ 62.51% |
vendor/assets/img/toms-pretty-list.png | 5.48KB | 3.30KB | ▼ 39.77% |