Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.16MB] [CPU: ▼2.26ms] Passed 4 tests
An overview of server-side resources used by Dokan - Best WooCommerce Multivendor Marketplace Solution - Build Your Own Amazon, eBay, Etsy
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.63 | 38.72 ▼0.95 |
Dashboard /wp-admin | 4.70 ▲1.36 | 56.09 ▼16.06 |
Posts /wp-admin/edit.php | 4.76 ▲1.40 | 58.90 ▲9.99 |
Add New Post /wp-admin/post-new.php | 7.22 ▲1.33 | 100.40 ▼2.03 |
Media Library /wp-admin/upload.php | 4.56 ▲1.33 | 50.25 ▲16.98 |
/wp-admin/admin.php?page=dokan-setup | 4.48 | 34.43 |
Server storage [IO: ▲14.16MB] [DB: ▲0.08MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- You have illegally modified 1 file (0.00KB) outside of "wp-content/plugins/dokan-lite/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/dokan-lite/assets/images/premium/C\303\251dric-Lefrancq.jpeg"
Filesystem: 667 new files
Database: 6 new tables, 11 new options
New tables |
---|
wp_dokan_reverse_withdrawal |
wp_dokan_refund |
wp_dokan_vendor_balance |
wp_dokan_orders |
wp_dokan_announcement |
wp_dokan_withdraw |
New WordPress options |
---|
dokan_pages_created |
widget_recent-comments |
widget_recent-posts |
dokan_theme_version |
db_upgraded |
dokan_pages |
theysaidso_admin_options |
dokan_installed_time |
can_compress_scripts |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Dokan - Best WooCommerce Multivendor Marketplace Solution - Build Your Own Amazon, eBay, Etsy
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲107 | 14.11 ▼0.52 | 1.70 ▲0.10 | 39.72 ▼4.94 |
Dashboard /wp-admin | 2,271 ▲94 | 5.67 ▲0.06 | 95.92 ▼0.66 | 48.18 ▲2.20 |
Posts /wp-admin/edit.php | 2,183 ▲83 | 2.10 ▲0.15 | 39.65 ▲1.60 | 39.71 ▲4.58 |
Add New Post /wp-admin/post-new.php | 1,587 ▲43 | 23.29 ▼1.93 | 602.97 ▼52.30 | 47.06 ▼24.05 |
Media Library /wp-admin/upload.php | 1,479 ▲82 | 4.21 ▼0.00 | 96.40 ▼0.77 | 44.69 ▲3.18 |
/wp-admin/admin.php?page=dokan-setup | 196 | 1.84 | 25.57 | 29.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 tables in the database
- wp_dokan_announcement
- wp_dokan_withdraw
- wp_dokan_reverse_withdrawal
- wp_dokan_vendor_balance
- wp_dokan_orders
- wp_dokan_refund
- This plugin did not uninstall successfully, leaving 11 options in the database
- widget_recent-comments
- can_compress_scripts
- dokan_installed_time
- dokan_theme_version
- widget_theysaidso_widget
- widget_recent-posts
- dokan_pages_created
- db_upgraded
- dokan_pages
- woocommerce_enable_myaccount_registration
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/dokan-lite/templates/widgets/store-open-close.php
- > /wp-content/plugins/dokan-lite/templates/settings/store-time.php
- 254× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WC_Email' not found in wp-content/plugins/dokan-lite/includes/Emails/VendorCompletedOrder.php:18
- > PHP Notice
Undefined variable: chosen_cat in wp-content/plugins/dokan-lite/templates/products/dokan-category-header-ui.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'WeDevs\\Dokan\\Abstracts\\DokanUpgrader' not found in wp-content/plugins/dokan-lite/includes/Upgrade/Upgrades/V_2_9_23.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/dokan-lite/templates/admin-setup-wizard/step-store.php:1
- > PHP Fatal error
Trait 'WeDevs\\Dokan\\Traits\\ObjectCache' not found in wp-content/plugins/dokan-lite/includes/Abstracts/DokanCache.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/dokan-lite/templates/global/dokan-warning.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Background_Process' not found in wp-content/plugins/dokan-lite/includes/Abstracts/DokanBackgroundProcesses.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/dokan-lite/templates/products/downloadable.php:1
- > PHP Fatal error
Uncaught Error: Class 'WeDevs\\Dokan\\Walkers\\CategoryDropdownSingle' not found in wp-content/plugins/dokan-lite/lib/class.category-walker.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dokan-lite/includes/functions-compatibility.php:230
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (15 tag instead of maximum 10)
dokan-lite/dokan.php 85% from 13 tests
Analyzing the main PHP file in "Dokan - Best WooCommerce Multivendor Marketplace Solution - Build Your Own Amazon, eBay, Etsy" version 3.9.3
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dokan-lite.php" instead of "dokan.php")
- Requires at least: Required version must match the one declared in readme.txt ("5.6" instead of "5.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin84,139 lines of code in 541 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 424 | 10,189 | 19,939 | 52,586 |
CSS | 25 | 374 | 260 | 16,993 |
SVG | 45 | 0 | 3 | 9,748 |
JavaScript | 36 | 781 | 573 | 3,561 |
Markdown | 4 | 532 | 0 | 925 |
JSON | 3 | 0 | 0 | 167 |
XML | 2 | 6 | 11 | 116 |
YAML | 2 | 8 | 0 | 43 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 15.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 192.00 |
Average method complexity | 3.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.00 |
Code structure | ||
---|---|---|
Namespaces | 50 | |
Interfaces | 0 | |
Traits | 7 | |
Classes | 267 | |
▷ Abstract classes | 14 | 5.24% |
▷ Concrete classes | 253 | 94.76% |
▷ Final classes | 1 | 0.40% |
Methods | 1,740 | |
▷ Static methods | 206 | 11.84% |
▷ Public methods | 1,543 | 88.68% |
▷ Protected methods | 103 | 5.92% |
▷ Private methods | 94 | 5.40% |
Functions | 320 | |
▷ Named functions | 295 | 92.19% |
▷ Anonymous functions | 25 | 7.81% |
Constants | 21 | |
▷ Global constants | 21 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
88 PNG files occupy 0.84MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/weforms-logo.png | 29.65KB | 15.48KB | ▼ 47.80% |
assets/images/modules/auction.png | 4.63KB | 4.75KB | 0.00% |
assets/images/promotions/Get-priority-support-24_7_365_Newsletter.png | 35.25KB | 38.77KB | 0.00% |
assets/vendors/jquery-ui/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/images/promo-logo.png | 11.00KB | 4.00KB | ▼ 63.61% |