Benchmarks
Plugin footprint 83% 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 gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.06ms] Passed 4 tests
This is a short check of server-side resources used by Delivery Drivers for Vendors
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.85 ▲0.07 |
Dashboard /wp-admin | 3.38 ▲0.03 | 45.74 ▼14.26 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.47 ▲1.25 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.07 | 82.04 ▼15.30 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 35.99 ▲5.34 |
Server storage [IO: ▲4.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 217 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
ddfwm_vendors_page |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Delivery Drivers for Vendors
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.34 ▼0.01 | 1.67 ▲0.11 | 43.73 ▲4.32 |
Dashboard /wp-admin | 2,195 ▲14 | 5.62 ▼0.08 | 90.59 ▼5.56 | 42.61 ▲5.43 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.02 | 38.70 ▲2.45 | 34.72 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.73 ▲0.64 | 667.00 ▼4.74 | 56.38 ▲5.77 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.16 ▼0.09 | 93.43 ▼7.23 | 42.74 ▼0.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- ddfwm_vendors_page
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% 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 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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/delivery-drivers-for-vendors/public/partials/ddfwm-public-display.php
- > /wp-content/plugins/delivery-drivers-for-vendors/admin/partials/ddfwm-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #2, #3, #4, #5, #6 in delivery-drivers-for-vendors/assets to your readme.txt
delivery-drivers-for-vendors/delivery-drivers-for-vendors.php 92% from 13 tests
The principal PHP file in "Delivery Drivers for Vendors" v. 1.1.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- 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 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected51,924 lines of code in 165 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 139 | 8,487 | 18,800 | 37,550 |
CSS | 18 | 1,514 | 58 | 12,081 |
JavaScript | 8 | 162 | 81 | 2,293 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 78.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 63 | |
▷ Abstract classes | 2 | 3.17% |
▷ Concrete classes | 61 | 96.83% |
▷ Final classes | 0 | 0.00% |
Methods | 1,369 | |
▷ Static methods | 203 | 14.83% |
▷ Public methods | 974 | 71.15% |
▷ Protected methods | 17 | 1.24% |
▷ Private methods | 378 | 27.61% |
Functions | 119 | |
▷ Named functions | 119 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 149 | |
▷ Global constants | 102 | 68.46% |
▷ Class constants | 47 | 31.54% |
▷ Public constants | 47 | 100.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
7 PNG files occupy 0.40MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
public/images/favicon-32x32.png | 3.25KB | 1.58KB | ▼ 51.32% |
(invalid) public/images/user.png | 1.49KB | 0.00KB | ▼ 100.00% |
public/images/ddfwm.png | 53.74KB | 19.65KB | ▼ 63.43% |
public/images/drivers_app.png | 8.22KB | 2.99KB | ▼ 63.68% |