Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.67ms] Passed 4 tests
An overview of server-side resources used by Delivery Drivers Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.72 ▼6.55 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.33 ▼1.25 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.19 ▼1.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.69 ▼14.46 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.44 ▼4.25 |
Server storage [IO: ▲5.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 219 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
pwddm_manager_page |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Delivery Drivers Manager: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.17 ▼0.36 | 1.61 ▲0.05 | 35.52 ▼2.19 |
Dashboard /wp-admin | 2,195 ▲15 | 5.64 ▲0.03 | 91.25 ▼3.00 | 40.33 ▼3.51 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▼0.00 | 39.75 ▲1.02 | 35.40 ▲0.27 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 18.09 ▼5.06 | 594.90 ▼73.05 | 70.23 ▲19.35 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.20 ▲0.01 | 93.53 ▼6.93 | 40.85 ▼5.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- pwddm_manager_page
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/delivery-drivers-manager/public/partials/pwddm-public-display.php
- > /wp-content/plugins/delivery-drivers-manager/admin/partials/pwddm-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #2, #3, #4, #5, #6 in delivery-drivers-manager/assets to your readme.txt
delivery-drivers-manager/delivery-drivers-manager.php 92% from 13 tests
"Delivery Drivers Manager" version 1.1.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin53,116 lines of code in 167 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 140 | 8,513 | 18,732 | 37,412 |
CSS | 18 | 1,571 | 84 | 12,338 |
JavaScript | 8 | 174 | 81 | 2,309 |
PO File | 1 | 317 | 414 | 1,057 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 78.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.66 |
▷ 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,366 | |
▷ Static methods | 201 | 14.71% |
▷ Public methods | 971 | 71.08% |
▷ Protected methods | 17 | 1.24% |
▷ Private methods | 378 | 27.67% |
Functions | 118 | |
▷ Named functions | 118 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 148 | |
▷ Global constants | 101 | 68.24% |
▷ Class constants | 47 | 31.76% |
▷ Public constants | 47 | 100.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 1.18MB with 0.80MB 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/pwddm.png | 219.11KB | 81.54KB | ▼ 62.79% |
(invalid) public/images/user.png | 1.49KB | 0.00KB | ▼ 100.00% |
public/images/routes-preview.png | 959.39KB | 350.17KB | ▼ 63.50% |
public/images/drivers_app.png | 8.22KB | 2.99KB | ▼ 63.68% |