Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.40MB] [CPU: ▼290.90ms] Passed 4 tests
Analyzing server-side resources used by Vertical Dashboard
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.53 | 88.62 ▲13.78 |
Dashboard /wp-admin | 3.83 ▲0.43 | 34.80 ▲0.67 |
Posts /wp-admin/edit.php | 4.06 ▲0.42 | 38.89 ▲0.08 |
Add New Post /wp-admin/post-new.php | 7.29 ▲0.33 | 94.80 ▼1,168.13 |
Media Library /wp-admin/upload.php | 3.71 ▲0.42 | 27.03 ▲3.80 |
Customize /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php | 5.26 | 49.58 |
Server storage [IO: ▲1.80MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 46 new files
Database: no new tables, 3 new options
New WordPress options |
---|
VM_database_option |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Vertical Dashboard: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,371 ▲617 | 18.03 ▲2.63 | 37.78 ▲29.57 | 40.63 ▲37.95 |
Dashboard /wp-admin | 2,969 ▲109 | 7.07 ▲0.95 | 132.09 ▲9.47 | 155.77 ▼56.91 |
Posts /wp-admin/edit.php | 2,771 ▲86 | 3.44 ▲0.20 | 78.65 ▲13.95 | 176.96 ▲32.25 |
Add New Post /wp-admin/post-new.php | 1,720 ▲59 | 16.19 ▼0.57 | 419.92 ▼10.55 | 176.08 ▼11.06 |
Media Library /wp-admin/upload.php | 1,775 ▲80 | 6.15 ▲0.62 | 132.96 ▼12.14 | 198.25 ▲2.23 |
Customize /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php | 14,782 | 22.09 | 727.02 | 199.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 3 options in the database
- widget_recent-posts
- widget_recent-comments
- VM_database_option
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-includes/class-wp-customize-nav-menus.php+1152
Trying to get property 'title' of non-object
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 items
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/vertical-dashboard-navigation/include/inline-style.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/vertical-dashboard-navigation/index.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/vertical-dashboard-navigation/include/default-values.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vertical-dashboard-navigation/include/color-picker.php:82
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/vertical-dashboard-navigation/include/inline-color.php:202
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/vertical-dashboard-navigation/include/admin_options.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/vertical-dashboard-navigation/include/menu_frontend.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vertical-dashboard-navigation/include/custom-admin-menu-fields.php:3
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== vertical-dashboard-navigation ===
) - Screenshots: These screenshots require images: #6 (screenshot-6 colors), #7 (screenshot-7 Custom Colors)
vertical-dashboard-navigation/index.php 92% from 13 tests
The principal PHP file in "Vertical Dashboard" v. 2.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("vertical-dashboard-navigation.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin10,954 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 8 | 359 | 34 | 4,249 |
PHP | 9 | 207 | 240 | 3,188 |
JavaScript | 8 | 446 | 925 | 2,583 |
SVG | 2 | 0 | 0 | 928 |
CSS | 6 | 0 | 11 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 9.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected