Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.87ms] Passed 4 tests
This is a short check of server-side resources used by Fleetwire Fleet Management Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.50 ▲1.72 |
Dashboard /wp-admin | 3.36 ▲0.06 | 43.59 ▼3.95 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 48.94 ▲4.37 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 78.81 ▼14.18 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 32.07 ▼3.07 |
Fleetwire /wp-admin/options-general.php?page=Fleetwire | 3.26 | 31.20 |
Server storage [IO: ▲6.72MB] [DB: ▲0.31MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Fleetwire Fleet Management Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲68 | 14.77 ▲0.38 | 1.77 ▼0.01 | 42.63 ▲0.94 |
Dashboard /wp-admin | 2,213 ▲25 | 4.87 ▼0.01 | 98.98 ▼5.60 | 37.52 ▼3.86 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▼0.01 | 41.17 ▲5.72 | 35.37 ▲3.83 |
Add New Post /wp-admin/post-new.php | 1,520 ▼4 | 17.51 ▼5.58 | 647.59 ▲23.87 | 57.82 ▼2.58 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.24 ▼0.01 | 92.95 ▼0.26 | 40.63 ▼1.25 |
Fleetwire /wp-admin/options-general.php?page=Fleetwire | 959 | 2.04 | 26.94 | 31.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/fleetwire-fleet-management/admin/fleetwire_notice.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/fleetwire-fleet-management/admin/fleetwire_admin.php:5
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== fleetwire-fleet-management ===
)
fleetwire-fleet-management/fleetwire.php 85% from 13 tests
The entry point to "Fleetwire Fleet Management Plugin" version 1.0.9 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("fleetwire-fleet-management.php" instead of "fleetwire.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected490 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 77 | 76 | 348 |
Bourne Shell | 1 | 39 | 45 | 115 |
CSS | 1 | 9 | 0 | 27 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 | 33 | |
▷ Named functions | 32 | 96.97% |
▷ Anonymous functions | 1 | 3.03% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
10 PNG files occupy 6.70MB with 4.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 908.75KB | 247.40KB | ▼ 72.78% |
assets/banner-772x250.png | 16.83KB | 6.76KB | ▼ 59.82% |
assets/screenshot-4.png | 931.29KB | 251.39KB | ▼ 73.01% |
assets/screenshot-2.png | 824.16KB | 211.68KB | ▼ 74.32% |
assets/FleetWire_Logo-B.png | 7.28KB | 4.62KB | ▼ 36.51% |