Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.33ms] Passed 4 tests
An overview of server-side resources used by Shipping Servientrega Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.05 ▼2.49 |
Dashboard /wp-admin | 3.34 ▼0.01 | 48.93 ▼19.49 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.96 ▲1.76 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.66 ▼5.08 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.71 ▲2.84 |
Server storage [IO: ▲1.95MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 379 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Shipping Servientrega Woocommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.27 ▼0.14 | 1.67 ▼0.04 | 43.55 ▼2.71 |
Dashboard /wp-admin | 2,198 ▲18 | 5.61 ▲0.01 | 82.71 ▼17.97 | 40.18 ▼4.72 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.15 ▲0.17 | 35.25 ▼0.79 | 39.04 ▼0.08 |
Add New Post /wp-admin/post-new.php | 1,532 ▲1 | 23.29 ▲0.28 | 669.77 ▼12.02 | 59.93 ▲10.69 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.23 ▼0.01 | 100.81 ▼1.21 | 44.03 ▼0.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 108× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/shipping-servientrega-woocommerce/lib/vendor/guzzlehttp/guzzle/src/Exception/TransferException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/shipping-servientrega-woocommerce/lib/lib/vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php:7
- > PHP Fatal error
Uncaught Error: Class 'SoapClient' not found in wp-content/plugins/shipping-servientrega-woocommerce/lib/vendor/saulmoralespa/servientrega-webservice-php/src/SoapClientNG.php:7
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/shipping-servientrega-woocommerce/lib/vendor/guzzlehttp/promises/src/CancellationException.php:8
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\MessageFormatterInterface' not found in wp-content/plugins/shipping-servientrega-woocommerce/lib/vendor/guzzlehttp/guzzle/src/MessageFormatter.php:38
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/shipping-servientrega-woocommerce/lib/vendor/guzzlehttp/psr7/src/Stream.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/shipping-servientrega-woocommerce/lib/vendor/psr/http-message/src/RequestInterface.php:24
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/shipping-servientrega-woocommerce/lib/lib/vendor/guzzlehttp/promises/src/TaskQueue.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/shipping-servientrega-woocommerce/lib/lib/vendor/psr/http-message/src/ResponseInterface.php:20
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/shipping-servientrega-woocommerce/includes/class-method-shipping-servientrega-wc.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
- Screenshots: These screenshots need descriptions #6, #7 in shipping-servientrega-woocommerce/assets to your readme.txt
shipping-servientrega-woocommerce/shipping-servientrega-wc.php 77% from 13 tests
"Shipping Servientrega Woocommerce" version 6.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("shipping-servientrega-woocommerce.php" instead of "shipping-servientrega-wc.php")
- Requires at least: Required version does not match the one declared in readme.txt ("6.0" instead of "4.0")
- Git Repository: Please remove the Git repository from this plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin22,092 lines of code in 197 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 153 | 2,607 | 6,424 | 16,949 |
Markdown | 21 | 1,280 | 0 | 3,806 |
JSON | 15 | 0 | 0 | 1,153 |
XML | 4 | 0 | 0 | 130 |
JavaScript | 2 | 3 | 0 | 38 |
make | 1 | 4 | 0 | 9 |
YAML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 13.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 2.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 56 | |
Traits | 6 | |
Classes | 169 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 169 | 100.00% |
▷ Final classes | 71 | 42.01% |
Methods | 1,667 | |
▷ Static methods | 334 | 20.04% |
▷ Public methods | 1,421 | 85.24% |
▷ Protected methods | 11 | 0.66% |
▷ Private methods | 235 | 14.10% |
Functions | 347 | |
▷ Named functions | 156 | 44.96% |
▷ Anonymous functions | 191 | 55.04% |
Constants | 138 | |
▷ Global constants | 5 | 3.62% |
▷ Class constants | 133 | 96.38% |
▷ Public constants | 111 | 83.46% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/servientrega.png | 12.23KB | 4.46KB | ▼ 63.51% |