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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.30ms] Passed 4 tests
An overview of server-side resources used by Shipping VendesFacil Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.08 ▲2.54 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.25 ▼18.35 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.58 ▼0.80 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 78.59 ▼15.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.09 ▲1.05 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 144 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_shipping_coordinadora_cities |
wp_coordinadora_vendes_facil |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
shipping_vendesfacil_wc_svwc_redirect |
shipping_vendesfacil_wc_svwc_version |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Shipping VendesFacil Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 13.27 ▼1.03 | 1.83 ▲0.25 | 42.98 ▼2.06 |
Dashboard /wp-admin | 2,220 ▲29 | 4.82 ▼1.06 | 101.51 ▲4.61 | 37.74 ▼5.84 |
Posts /wp-admin/edit.php | 2,106 ▲14 | 2.03 ▲0.01 | 35.23 ▼0.66 | 31.04 ▼2.93 |
Add New Post /wp-admin/post-new.php | 1,523 ▼10 | 17.70 ▼5.36 | 677.40 ▼5.19 | 55.03 ▼1.94 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.23 ▲0.01 | 144.19 ▲31.83 | 60.59 ▲12.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- shipping_vendesfacil_wc_svwc_redirect
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 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 50% from 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
Please take a closer look at the following
- 49× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/shipping-vendesfacil-woocommerce/lib/vendor/guzzlehttp/psr7/src/BufferStream.php:14
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/shipping-vendesfacil-woocommerce/lib/vendor/guzzlehttp/guzzle/src/Exception/TransferException.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UriInterface' not found in wp-content/plugins/shipping-vendesfacil-woocommerce/lib/vendor/guzzlehttp/psr7/src/Uri.php:13
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/shipping-vendesfacil-woocommerce/lib/vendor/guzzlehttp/guzzle/src/Exception/ClientException.php:7
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/shipping-vendesfacil-woocommerce/lib/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/shipping-vendesfacil-woocommerce/lib/vendor/guzzlehttp/psr7/src/PumpStream.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/shipping-vendesfacil-woocommerce/lib/vendor/psr/http-message/src/RequestInterface.php:24
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/shipping-vendesfacil-woocommerce/lib/vendor/guzzlehttp/promises/src/EachPromise.php:8
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/shipping-vendesfacil-woocommerce/lib/vendor/guzzlehttp/promises/src/RejectedPromise.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/shipping-vendesfacil-woocommerce/lib/vendor/guzzlehttp/psr7/src/CachingStream.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
shipping-vendesfacil-woocommerce/shipping-vendesfacil-woocommerce.php 92% from 13 tests
Analyzing the main PHP file in "Shipping VendesFacil Woocommerce" version 1.0.2
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "2.6")
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
Success! There were no dangerous files found in this plugin13,918 lines of code in 130 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 103 | 1,975 | 4,908 | 9,555 |
Markdown | 12 | 1,094 | 0 | 3,638 |
JSON | 9 | 0 | 0 | 632 |
XML | 3 | 4 | 0 | 42 |
JavaScript | 1 | 0 | 0 | 28 |
YAML | 1 | 4 | 0 | 14 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 13.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 14 | |
Traits | 2 | |
Classes | 72 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 72 | 100.00% |
▷ Final classes | 8 | 11.11% |
Methods | 715 | |
▷ Static methods | 79 | 11.05% |
▷ Public methods | 598 | 83.64% |
▷ Protected methods | 7 | 0.98% |
▷ Private methods | 110 | 15.38% |
Functions | 155 | |
▷ Named functions | 62 | 40.00% |
▷ Anonymous functions | 93 | 60.00% |
Constants | 56 | |
▷ Global constants | 1 | 1.79% |
▷ Class constants | 55 | 98.21% |
▷ Public constants | 55 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin