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.10MB] [CPU: ▼300.37ms] Passed 4 tests
Server-side resources used by Admin Dashboard
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.14 | 54.79 ▲4.10 |
Dashboard /wp-admin | 3.30 ▼0.11 | 18.94 ▼15.27 |
Posts /wp-admin/edit.php | 3.80 ▲0.16 | 36.33 ▼5.98 |
Add New Post /wp-admin/post-new.php | 7.38 ▲0.41 | 81.26 ▼1,175.10 |
Media Library /wp-admin/upload.php | 3.49 ▲0.19 | 21.30 ▼5.11 |
Social Media /wp-admin/admin.php?page=dashboard-social | 3.41 | 22.26 |
Dashboard Menus /wp-admin/admin.php?page=dashboard-dashboard-menus | 3.61 | 25.55 |
Server storage [IO: ▲0.89MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 2 new options
New WordPress options |
---|
dashboard_social |
dashboard_dashboard_menus |
Browser metrics Passed 4 tests
A check of browser resources used by Admin Dashboard
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,984 ▼1,760 | 15.16 ▼0.65 | 6.84 ▲0.35 | 2.73 ▲0.60 |
Dashboard /wp-admin | 1,089 ▼1,772 | 2.90 ▼3.32 | 66.39 ▼69.34 | 117.51 ▼41.68 |
Posts /wp-admin/edit.php | 2,738 ▲47 | 3.28 ▲0.04 | 64.40 ▲0.89 | 143.95 ▲3.60 |
Add New Post /wp-admin/post-new.php | 1,696 ▼64 | 19.95 ▲2.69 | 420.54 ▼9.02 | 162.03 ▲5.71 |
Media Library /wp-admin/upload.php | 1,736 ▲41 | 5.56 ▲0.07 | 136.36 ▼6.60 | 184.04 ▲1.12 |
Social Media /wp-admin/admin.php?page=dashboard-social | 1,230 | 2.76 | 55.72 | 130.27 |
Dashboard Menus /wp-admin/admin.php?page=dashboard-dashboard-menus | 15,144 | 3.41 | 79.65 | 144.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 2 options in the database
- dashboard_social
- dashboard_dashboard_menus
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: dashboard, admin dashboard, admin
admin-dashboard/dashboard.php 92% from 13 tests
The entry point to "Admin Dashboard" version 1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("admin-dashboard.php" instead of "dashboard.php")
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
Good job! No executable or dangerous file extensions detected5,161 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 1 | 3 | 2,624 |
CSS | 5 | 10 | 64 | 2,117 |
PHP | 6 | 52 | 54 | 356 |
JavaScript | 1 | 8 | 2 | 64 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin