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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▲0.09ms] Passed 4 tests
An overview of server-side resources used by Dashboard Widgets Suite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 42.94 ▲0.87 |
Dashboard /wp-admin | 3.42 ▲0.08 | 64.71 ▲0.96 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 52.80 ▲5.48 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 94.14 ▼6.96 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 43.35 ▲7.45 |
Dashboard Widgets /wp-admin/options-general.php?page=dashboard_widgets_suite | 3.31 | 35.73 |
Server storage [IO: ▲1.35MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Dashboard Widgets Suite: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,994 ▲233 | 14.35 ▼0.27 | 1.93 ▲0.37 | 44.72 ▲8.02 |
Dashboard /wp-admin | 2,372 ▲198 | 5.61 ▼0.08 | 102.04 ▲12.20 | 47.10 ▲6.52 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.01 ▲0.02 | 34.89 ▼0.72 | 32.45 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.17 ▲0.14 | 574.43 ▼101.37 | 52.06 ▼1.23 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.16 ▲0.01 | 95.79 ▼0.17 | 44.55 ▲0.47 |
Dashboard Widgets /wp-admin/options-general.php?page=dashboard_widgets_suite | 941 | 2.15 | 41.61 | 44.78 |
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: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
No output text or server-side errors detected 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
dashboard-widgets-suite/dashboard-widgets.php 92% from 13 tests
The main PHP file in "Dashboard Widgets Suite" ver. 3.4.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dashboard-widgets-suite.php" instead of "dashboard-widgets.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin4,089 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 1,987 | 135 | 2,830 |
SVG | 2 | 0 | 0 | 752 |
CSS | 8 | 29 | 17 | 335 |
JavaScript | 5 | 99 | 4 | 172 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 21 | |
▷ Static methods | 11 | 52.38% |
▷ Public methods | 19 | 90.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 9.52% |
Functions | 196 | |
▷ Named functions | 196 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/dws-icon-88.png | 4.65KB | 2.79KB | ▼ 40.05% |