Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.96ms] Passed 4 tests
An overview of server-side resources used by WooCommerce to Vend One stop Solution
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.67 ▼8.11 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.67 ▲2.89 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.79 ▲4.67 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.68 ▼7.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.35 ▲0.96 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 144 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce to Vend One stop Solution
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.15 ▼1.60 | 1.59 ▼0.14 | 44.15 ▲1.04 |
Dashboard /wp-admin | 2,206 ▲18 | 5.79 ▲0.91 | 99.78 ▼13.18 | 37.70 ▼8.24 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.04 | 34.89 ▼4.66 | 35.86 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,537 ▲1 | 22.97 ▼0.45 | 599.78 ▼56.01 | 58.73 ▲0.62 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.28 ▲0.03 | 97.87 ▼6.78 | 44.24 ▲1.89 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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 fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/woo-to-vend-one-stop-solution/tests/bootstrap.php
- 48× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/woo-to-vend-one-stop-solution/vendor/guzzlehttp/psr7/src/Stream.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/woo-to-vend-one-stop-solution/tests/WVOS_Vend_Functions_Test.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/woo-to-vend-one-stop-solution/vendor/guzzlehttp/psr7/src/FnStream.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/woo-to-vend-one-stop-solution/vendor/guzzlehttp/psr7/src/PumpStream.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/woo-to-vend-one-stop-solution/vendor/guzzlehttp/psr7/src/Request.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/woo-to-vend-one-stop-solution/vendor/guzzlehttp/psr7/src/MultipartStream.php:10
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/woo-to-vend-one-stop-solution/vendor/guzzlehttp/promises/src/CancellationException.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/woo-to-vend-one-stop-solution/vendor/psr/http-message/src/ResponseInterface.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/woo-to-vend-one-stop-solution/vendor/guzzlehttp/psr7/src/InflateStream.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UriInterface' not found in wp-content/plugins/woo-to-vend-one-stop-solution/vendor/guzzlehttp/psr7/src/Uri.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Requires at least: The plugin version is formatted incorrectly
- Donate link: Invalid URI found ("")
- Contributors: Contributors not specified
woo-to-vend-one-stop-solution/wc-vend.php 77% from 13 tests
This is the main PHP file of "WooCommerce to Vend One stop Solution" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-to-vend-one-stop-solution.php" instead of "wc-vend.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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 detected14,367 lines of code in 134 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 111 | 2,391 | 5,932 | 10,478 |
Markdown | 10 | 953 | 0 | 3,205 |
JSON | 7 | 3 | 0 | 417 |
Bourne Shell | 1 | 21 | 11 | 120 |
JavaScript | 2 | 22 | 1 | 75 |
CSS | 1 | 7 | 0 | 46 |
XML | 1 | 0 | 0 | 17 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 15.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 123.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 14 | |
Traits | 2 | |
Classes | 81 | |
▷ Abstract classes | 1 | 1.23% |
▷ Concrete classes | 80 | 98.77% |
▷ Final classes | 7 | 8.75% |
Methods | 814 | |
▷ Static methods | 63 | 7.74% |
▷ Public methods | 675 | 82.92% |
▷ Protected methods | 25 | 3.07% |
▷ Private methods | 114 | 14.00% |
Functions | 149 | |
▷ Named functions | 61 | 40.94% |
▷ Anonymous functions | 88 | 59.06% |
Constants | 51 | |
▷ Global constants | 3 | 5.88% |
▷ Class constants | 48 | 94.12% |
▷ Public constants | 48 | 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 files were detected