Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲3.22MB] [CPU: ▲13.38ms] 75% from 4 tests
This is a short check of server-side resources used by Inventory Presser - Car Dealer Listings
It is recommended to improve the following
- RAM: You should keep total memory usage under 10MB (currently 11.21MB on /wp-admin/post-new.php?post_type=inventory_vehicle)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.73 ▲3.26 | 52.66 ▲14.54 |
Dashboard /wp-admin | 6.52 ▲3.21 | 57.70 ▲10.11 |
Posts /wp-admin/edit.php | 6.63 ▲3.27 | 62.36 ▲16.37 |
Add New Post /wp-admin/post-new.php | 9.74 ▲3.85 | 100.61 ▲12.49 |
Media Library /wp-admin/upload.php | 6.37 ▲3.14 | 53.12 ▲20.78 |
All Vehicles /wp-admin/edit.php?post_type=inventory_vehicle | 6.49 | 56.47 |
Options /wp-admin/edit.php?post_type=inventory_vehicle&page=dealership-options | 6.34 | 45.49 |
Locations /wp-admin/edit-tags.php?taxonomy=location&post_type=inventory_vehicle | 6.37 | 48.40 |
Add New /wp-admin/post-new.php?post_type=inventory_vehicle | 11.21 | 136.48 |
Server storage [IO: ▲11.17MB] [DB: ▲0.05MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 441 new files
Database: no new tables, 32 new options
New WordPress options |
---|
widget__invp_map |
widget__invp_address |
widget__invp_slick |
colors_children |
model_children |
model_year_children |
fuel_children |
widget__invp_kbb |
transmission_children |
db_upgraded |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Inventory Presser - Car Dealer Listings
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲82 | 14.38 ▲0.09 | 1.65 ▲0.13 | 42.37 ▲0.05 |
Dashboard /wp-admin | 2,242 ▲65 | 5.92 ▲0.31 | 109.89 ▲23.12 | 40.08 ▼1.52 |
Posts /wp-admin/edit.php | 2,151 ▲51 | 3.13 ▲1.11 | 50.50 ▲14.90 | 31.69 ▼5.03 |
Add New Post /wp-admin/post-new.php | 1,694 ▲166 | 25.78 ▲2.94 | 686.35 ▲4.36 | 38.23 ▼17.02 |
Media Library /wp-admin/upload.php | 1,445 ▲51 | 5.33 ▲1.17 | 106.45 ▲8.12 | 43.34 ▲1.59 |
All Vehicles /wp-admin/edit.php?post_type=inventory_vehicle | 1,266 | 2.92 | 47.54 | 28.33 |
Options /wp-admin/edit.php?post_type=inventory_vehicle&page=dealership-options | 1,792 | 2.77 | 42.71 | 33.73 |
Locations /wp-admin/edit-tags.php?taxonomy=location&post_type=inventory_vehicle | 1,735 | 2.79 | 43.01 | 32.20 |
Add New /wp-admin/post-new.php?post_type=inventory_vehicle | 6,340 | 23.36 | 891.00 | 35.05 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 19 options in the database
- type_children
- style_children
- theysaidso_admin_options
- availability_children
- model_children
- cylinders_children
- fuel_children
- can_compress_scripts
- widget_theysaidso_widget
- condition_children
- ...
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: car dealer, dealership, lot, vehicle, inventory management...
inventory-presser/inventory-presser.php 92% from 13 tests
The primary PHP file in "Inventory Presser - Car Dealer Listings" version 14.11.4 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
Good job! No executable or dangerous file extensions detected123,094 lines of code in 302 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 20 | 7,512 | 111 | 45,507 |
JavaScript | 140 | 11,205 | 12,803 | 43,597 |
JSON | 10 | 0 | 0 | 17,821 |
PHP | 72 | 2,035 | 5,613 | 11,829 |
CSS | 39 | 149 | 195 | 1,879 |
SVG | 7 | 0 | 0 | 1,331 |
Markdown | 6 | 383 | 0 | 825 |
LESS | 8 | 180 | 70 | 305 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 24.37 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 160.00 |
Average method complexity | 4.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 63 | |
▷ Abstract classes | 2 | 3.17% |
▷ Concrete classes | 61 | 96.83% |
▷ Final classes | 0 | 0.00% |
Methods | 477 | |
▷ Static methods | 100 | 20.96% |
▷ Public methods | 427 | 89.52% |
▷ Protected methods | 29 | 6.08% |
▷ Private methods | 21 | 4.40% |
Functions | 68 | |
▷ Named functions | 59 | 86.76% |
▷ Anonymous functions | 9 | 13.24% |
Constants | 32 | |
▷ Global constants | 3 | 9.38% |
▷ Class constants | 29 | 90.62% |
▷ Public constants | 29 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 0.22MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/carfax-advantage-dealer.png | 34.23KB | 12.09KB | ▼ 64.67% |
js/leaflet/images/marker-icon-2x.png | 2.41KB | 2.52KB | 0.00% |
images/carfax-show-me-blue-oval.png | 96.31KB | 28.67KB | ▼ 70.23% |
js/leaflet/images/marker-icon.png | 1.43KB | 1.55KB | 0.00% |
js/leaflet/images/layers-2x.png | 1.23KB | 1.67KB | 0.00% |