Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.92ms] Passed 4 tests
Server-side resources used by vipdrv
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.72 ▲1.61 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.86 ▼3.34 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.17 ▼3.89 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.32 ▼17.31 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.16 ▼3.13 |
VIPdrv /wp-admin/admin.php?page=vipdrv-vip-test-drive/admin/portal.php | 3.20 | 28.70 |
Settings /wp-admin/admin.php?page=vipdrv-vip-test-drive/admin/integration.php | 3.21 | 30.96 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by vipdrv
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲131 | 13.32 ▼1.03 | 2.27 ▲0.58 | 41.33 ▲2.49 |
Dashboard /wp-admin | 2,231 ▲40 | 5.84 ▲0.81 | 101.77 ▲0.01 | 68.22 ▲26.50 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.02 ▲0.03 | 33.43 ▼2.62 | 31.83 ▼4.13 |
Add New Post /wp-admin/post-new.php | 1,542 ▼0 | 23.09 ▲4.79 | 722.65 ▲119.50 | 54.98 ▲4.83 |
Media Library /wp-admin/upload.php | 1,413 ▲28 | 4.21 ▲0.01 | 93.66 ▼5.49 | 82.85 ▲39.54 |
VIPdrv /wp-admin/admin.php?page=vipdrv-vip-test-drive/admin/portal.php | 812 | 2.02 | 24.61 | 24.84 |
Settings /wp-admin/admin.php?page=vipdrv-vip-test-drive/admin/integration.php | 842 | 2.20 | 27.02 | 25.78 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/vipdrv-vip-test-drive/admin/portal.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vipdrv-vip-test-drive/vipdrv.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/vipdrv-vip-test-drive/admin/integration.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #3, #4, #5 in vipdrv-vip-test-drive/assets to your readme.txt
vipdrv-vip-test-drive/vipdrv.php 69% from 13 tests
The primary PHP file in "vipdrv" version 1.0.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and 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
- Main file name: It is recommended to name the main PHP file as the plugin slug ("vipdrv-vip-test-drive.php" instead of "vipdrv.php")
- Description: Keep the plugin description shorter than 140 characters (currently 211 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin91 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 11 | 23 | 91 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/viprdv-menu-logo.png | 5.16KB | 0.60KB | ▼ 88.30% |