Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.70ms] Passed 4 tests
A check of server-side resources used by Dokan Vendor Dashboard
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.99 ▼3.57 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.95 ▼7.72 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.39 ▲3.56 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.38 ▼14.07 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.93 ▲2.55 |
Server storage [IO: ▲5.50MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 37 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
dokan_vendor_dashboard_version |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Dokan Vendor Dashboard
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲77 | 13.30 ▼1.14 | 5.59 ▲3.88 | 44.47 ▲0.59 |
Dashboard /wp-admin | 2,215 ▲30 | 5.80 ▼0.01 | 103.50 ▼2.31 | 39.23 ▼0.55 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.02 ▼0.03 | 40.40 ▼2.88 | 36.92 ▲3.99 |
Add New Post /wp-admin/post-new.php | 1,526 ▲12 | 17.70 ▲0.24 | 667.40 ▲35.15 | 52.49 ▼0.94 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.27 ▲0.09 | 104.47 ▲4.64 | 46.88 ▲1.69 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- dokan_vendor_dashboard_version
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/dokan-vendor-dashboard/templates/vendor-dashboard-full-width.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: vendor dashboard, dokan, multivendor marketplace
dokan-vendor-dashboard/dokan-vendor-dashboard.php 92% from 13 tests
The principal PHP file in "Dokan Vendor Dashboard" v. 1.0.1 is loaded by WordPress automatically on each request
The following require your attention:
- Requires at least: Required version must match the one declared in readme.txt ("5.8" instead of "5.0.0")
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
No dangerous file extensions were detected35,514 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 476 | 463 | 32,728 |
PHP | 20 | 329 | 1,044 | 1,379 |
JSON | 2 | 0 | 0 | 1,248 |
SVG | 1 | 87 | 0 | 99 |
JavaScript | 2 | 10 | 3 | 60 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 14.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 97 | |
▷ Static methods | 22 | 22.68% |
▷ Public methods | 88 | 90.72% |
▷ Protected methods | 1 | 1.03% |
▷ Private methods | 8 | 8.25% |
Functions | 7 | |
▷ Named functions | 1 | 14.29% |
▷ Anonymous functions | 6 | 85.71% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin