Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.02ms] Passed 4 tests
Server-side resources used by Shipping Deprisa Woo
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.39 ▼9.97 |
Dashboard /wp-admin | 3.33 ▲0.02 | 51.73 ▲2.66 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 53.10 ▲3.26 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 112.71 ▲8.33 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.95 ▼4.01 |
Server storage [IO: ▲0.82MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 150 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Shipping Deprisa Woo
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲79 | 13.17 ▼1.21 | 1.65 ▼0.21 | 41.54 ▼0.43 |
Dashboard /wp-admin | 2,220 ▲32 | 5.88 ▲0.93 | 103.07 ▼6.26 | 40.36 ▲0.99 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.02 ▼0.04 | 48.61 ▲8.19 | 35.69 ▼0.72 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 23.08 ▼0.10 | 670.17 ▲0.41 | 56.53 ▲1.83 |
Media Library /wp-admin/upload.php | 1,402 ▲17 | 4.22 ▲0.04 | 109.25 ▲3.20 | 52.98 ▲6.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- 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 everything seems fine, this is not 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
Almost there! Just fix the following items
- 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-deprisa-woo/lib/vendor/guzzlehttp/psr7/src/PumpStream.php:16
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Cookie\\CookieJarInterface' not found in wp-content/plugins/shipping-deprisa-woo/lib/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php:11
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/shipping-deprisa-woo/lib/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/shipping-deprisa-woo/lib/vendor/guzzlehttp/psr7/src/Stream.php:11
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/shipping-deprisa-woo/lib/vendor/guzzlehttp/promises/src/EachPromise.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/shipping-deprisa-woo/lib/vendor/guzzlehttp/psr7/src/LimitStream.php:10
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/shipping-deprisa-woo/lib/vendor/guzzlehttp/promises/src/TaskQueue.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/shipping-deprisa-woo/lib/vendor/guzzlehttp/psr7/src/InflateStream.php:17
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/shipping-deprisa-woo/lib/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php:13
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/shipping-deprisa-woo/lib/vendor/guzzlehttp/promises/src/Coroutine.php:43
- > PHP Fatal error
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 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Screenshots: A description for screenshot #0 is required in shipping-deprisa-woo/assets to your readme.txt
shipping-deprisa-woo/shipping-deprisa-woo.php 85% from 13 tests
"Shipping Deprisa Woo" version 1.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.4" instead of "4.0")
- Git Repository: A Git repository was detected inside this plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin14,264 lines of code in 139 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 105 | 2,049 | 5,231 | 9,592 |
Markdown | 17 | 1,217 | 0 | 3,769 |
JSON | 10 | 0 | 0 | 774 |
JavaScript | 3 | 2 | 0 | 85 |
XML | 2 | 0 | 0 | 34 |
make | 1 | 4 | 0 | 9 |
YAML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 14.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 18 | |
Traits | 3 | |
Classes | 69 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 69 | 100.00% |
▷ Final classes | 10 | 14.49% |
Methods | 741 | |
▷ Static methods | 94 | 12.69% |
▷ Public methods | 613 | 82.73% |
▷ Protected methods | 15 | 2.02% |
▷ Private methods | 113 | 15.25% |
Functions | 151 | |
▷ Named functions | 59 | 39.07% |
▷ Anonymous functions | 92 | 60.93% |
Constants | 59 | |
▷ Global constants | 1 | 1.69% |
▷ Class constants | 58 | 98.31% |
▷ Public constants | 58 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected