Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.16ms] Passed 4 tests
An overview of server-side resources used by Free Vehicle Data UK
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.88 ▲1.00 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.41 ▼0.20 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.22 ▼9.26 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.71 ▼5.42 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.03 ▼1.76 |
Server storage [IO: ▲0.68MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 35 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
FVDUKDisableEndPoint |
FVDUKCreditUs |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
FVDUKCreditLink |
can_compress_scripts |
Browser metrics Passed 4 tests
Free Vehicle Data UK: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲48 | 14.37 ▼0.34 | 1.79 ▲0.06 | 45.50 ▲0.24 |
Dashboard /wp-admin | 2,213 ▲33 | 5.68 ▲0.04 | 84.49 ▼1.55 | 38.18 ▲2.49 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.00 ▼0.01 | 47.74 ▲9.16 | 38.37 ▲2.92 |
Add New Post /wp-admin/post-new.php | 1,540 ▲5 | 23.17 ▲4.73 | 657.85 ▲3.45 | 50.97 ▼11.98 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.24 ▲0.05 | 100.87 ▲3.85 | 40.41 ▼0.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 9 options in the database
- theysaidso_admin_options
- db_upgraded
- FVDUKCreditLink
- FVDUKCreditUs
- FVDUKDisableEndPoint
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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 fix the following
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/free-vehicle-data-uk/templates/2-col-layout.php
- > /wp-content/plugins/free-vehicle-data-uk/templates/2-col-layout-alt-img.php
- > /wp-content/plugins/free-vehicle-data-uk/templates/1-col-layout.php
- > /wp-content/plugins/free-vehicle-data-uk/templates/2-col-layout-alt.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5 in free-vehicle-data-uk/assets to your readme.txt
free-vehicle-data-uk/fvd.php 85% from 13 tests
"Free Vehicle Data UK" version 1.38's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("free-vehicle-data-uk.php" instead of "fvd.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,684 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 391 | 228 | 1,333 |
CSS | 2 | 3 | 10 | 351 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 29.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 8.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 15 | |
▷ Static methods | 2 | 13.33% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
19 compressed PNG files occupy 0.27MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/taxband/L.png | 21.35KB | 22.31KB | 0.00% |
assets/taxband/C.png | 21.02KB | 21.89KB | 0.00% |
assets/taxband/F.png | 19.55KB | 20.43KB | 0.00% |
assets/taxband/I.png | 20.20KB | 21.07KB | 0.00% |
assets/taxband/G.png | 20.72KB | 21.57KB | 0.00% |