Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.04MB] [CPU: ▼7.20ms] Passed 4 tests
This is a short check of server-side resources used by Dashboard Widget Sidebar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.91 ▼1.02 |
Dashboard /wp-admin | 3.07 ▼0.23 | 30.71 ▼23.06 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.73 ▲3.67 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.95 ▼7.71 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.87 ▲2.98 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Dashboard Widget Sidebar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.42 ▲0.07 | 1.88 ▲0.15 | 42.77 ▲2.34 |
Dashboard /wp-admin | 2,199 ▲19 | 5.47 ▼0.05 | 89.19 ▼2.08 | 36.71 ▼4.92 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.97 ▼0.07 | 38.82 ▲3.88 | 36.95 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,530 ▲2 | 23.80 ▲0.70 | 654.43 ▼13.66 | 60.92 ▼2.05 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.15 ▼0.09 | 101.05 ▼6.74 | 42.51 ▼4.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 1× 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/dashboard-widget-sidebar/dashboard-widget-sidebar.php:129
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: widgets, widget, dashboard widget, priority, admin dashboard...
dashboard-widget-sidebar/dashboard-widget-sidebar.php Passed 13 tests
This is the main PHP file of "Dashboard Widget Sidebar" version 1.2.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
64 characters long description:
Enable regulare widgets to be used as Dashboard Widgets in admin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin158 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 50 | 113 |
JavaScript | 1 | 13 | 7 | 45 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 5 | |
▷ Named functions | 5 | 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
No PNG files were detected