Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.85ms] Passed 4 tests
A check of server-side resources used by Vendor Templates for Dokan - Collection of templates for Dokan sellers
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.78 ▼2.56 |
Dashboard /wp-admin | 3.32 ▲0.02 | 55.41 ▲4.83 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.60 ▲0.05 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 98.04 ▲12.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.39 ▲1.08 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Vendor Templates for Dokan - Collection of templates for Dokan sellers: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 14.76 ▲0.18 | 1.77 ▼0.08 | 44.35 ▼0.92 |
Dashboard /wp-admin | 2,215 ▲40 | 4.85 ▼0.08 | 103.81 ▼19.42 | 41.66 ▼5.18 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.03 ▲0.03 | 34.14 ▼0.45 | 35.36 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,552 ▲38 | 17.96 ▲0.32 | 603.85 ▼97.40 | 55.03 ▲3.56 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.27 ▲0.01 | 95.70 ▼8.90 | 42.52 ▼1.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/vendor-templates-dokan/inc/functions.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: commissions, multivendor, templates, templates for dokan, multi-vendor design...
vendor-templates-dokan/vendor-templates-dokan.php 77% from 13 tests
The main PHP script in "Vendor Templates for Dokan - Collection of templates for Dokan sellers" version 1.0.3 is automatically included on every request by WordPress
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Description: Please keep the plugin description shorter than 140 characters (currently 207 characters long)
- Requires at least: Required version does not match the one declared in readme.txt ("5.4" instead of "5.2")
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
Good job! No executable or dangerous file extensions detected428 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 116 | 32 | 375 |
PHP | 2 | 14 | 51 | 53 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.13MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 42.18KB | 15.82KB | ▼ 62.50% |
assets/img/temp3.png | 12.80KB | 5.22KB | ▼ 59.24% |
screenshot1.png | 42.18KB | 15.82KB | ▼ 62.50% |
assets/img/temp2.png | 13.20KB | 5.26KB | ▼ 60.18% |
assets/img/temp4.png | 14.25KB | 5.95KB | ▼ 58.29% |