Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.45ms] Passed 4 tests
Server-side resources used by create a custom dashboard widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.14 ▼13.92 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.68 ▼7.65 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.12 ▼1.35 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.84 ▼18.88 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.08 ▲3.59 |
Custom dashboard widget /wp-admin/options-general.php?page=cacdw_plugin | 3.21 | 29.94 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
cacdw_main_option |
Browser metrics Passed 4 tests
This is an overview of browser requirements for create a custom dashboard widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲91 | 13.32 ▼0.98 | 1.90 ▼0.22 | 43.91 ▲0.80 |
Dashboard /wp-admin | 2,243 ▲55 | 4.86 ▼0.04 | 106.86 ▼5.68 | 40.31 ▼1.83 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.03 | 39.65 ▼1.36 | 34.70 ▼4.26 |
Add New Post /wp-admin/post-new.php | 1,539 ▲16 | 23.22 ▼0.31 | 661.73 ▲79.09 | 52.66 ▲2.39 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.24 ▲0.02 | 99.28 ▼2.79 | 43.57 ▲1.36 |
Custom dashboard widget /wp-admin/options-general.php?page=cacdw_plugin | 818 | 2.01 | 26.41 | 30.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- cacdw_main_option
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 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 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/create-a-custom-dashboard-widget/create-a-custom-dashboard-widget.php:21
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: custom dashboard widget, customize wordpress dashboard
create-a-custom-dashboard-widget/create-a-custom-dashboard-widget.php 92% from 13 tests
The primary PHP file in "create a custom dashboard widget" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin62 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 16 | 62 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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
There were not PNG files found in your plugin