Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.14ms] Passed 4 tests
A check of server-side resources used by Admin Dashboard
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.79 ▲0.46 |
Dashboard /wp-admin | 3.07 ▼0.23 | 25.52 ▼22.90 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 43.35 ▼4.95 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 81.25 ▼15.40 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 32.24 ▼1.31 |
Dashboard Menus /wp-admin/admin.php?page=dashboard-dashboard-menus | 3.43 | 31.73 |
Social Media /wp-admin/admin.php?page=dashboard-social | 3.29 | 25.56 |
Server storage [IO: ▲0.89MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
dashboard_social |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
dashboard_dashboard_menus |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Admin Dashboard
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,475 ▼1,260 | 13.02 ▼1.38 | 1.57 ▼0.00 | 28.63 ▼11.02 |
Dashboard /wp-admin | 871 ▼1,321 | 1.96 ▼3.01 | 34.90 ▼68.13 | 28.08 ▼13.86 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.24 ▲0.10 | 33.69 ▼0.43 | 34.58 ▲1.82 |
Add New Post /wp-admin/post-new.php | 6,499 ▲4,954 | 23.51 ▲0.57 | 852.12 ▲215.96 | 34.42 ▼20.54 |
Media Library /wp-admin/upload.php | 1,421 ▲36 | 4.26 ▲0.10 | 96.38 ▼1.23 | 40.19 ▲1.18 |
Dashboard Menus /wp-admin/admin.php?page=dashboard-dashboard-menus | 10,206 | 2.70 | 38.29 | 41.90 |
Social Media /wp-admin/admin.php?page=dashboard-social | 955 | 1.94 | 25.07 | 29.00 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- dashboard_social
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- dashboard_dashboard_menus
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The SRP test was a success
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: dashboard, admin dashboard, admin
admin-dashboard/dashboard.php 92% from 13 tests
The main PHP script in "Admin Dashboard" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("admin-dashboard.php" instead of "dashboard.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin5,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
There are no cyclomatic complexity problems detected for this plugin
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin