Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼306.23ms] Passed 4 tests
This is a short check of server-side resources used by Custom Dashboard Welcome Panel Widget Sidebar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 57.95 ▲4.24 |
Dashboard /wp-admin | 3.42 ▲0.01 | 47.99 ▲9.22 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 37.89 ▼4.16 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 93.84 ▼1,220.09 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 31.61 ▼4.90 |
Widgets /wp-admin/widgets.php | 5.20 | 55.31 |
Menus /wp-admin/nav-menus.php | 3.27 | 33.98 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Custom Dashboard Welcome Panel Widget Sidebar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,641 ▼113 | 15.63 ▼0.17 | 6.69 ▼0.30 | 3.20 ▲0.59 |
Dashboard /wp-admin | 2,727 ▼134 | 6.10 ▼0.06 | 115.92 ▼13.08 | 129.50 ▼33.29 |
Posts /wp-admin/edit.php | 2,698 ▲10 | 3.23 ▼0.00 | 66.17 ▲1.88 | 185.18 ▲2.03 |
Add New Post /wp-admin/post-new.php | 1,758 ▲6 | 21.01 ▲0.08 | 451.85 ▼7.43 | 154.27 ▼10.54 |
Media Library /wp-admin/upload.php | 1,708 ▲10 | 5.54 ▲0.03 | 135.81 ▼2.30 | 182.04 ▼4.15 |
Widgets /wp-admin/widgets.php | 2,448 | 22.05 | 528.39 | 132.40 |
Menus /wp-admin/nav-menus.php | 2,251 | 3.40 | 90.27 | 130.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 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/custom-dashboard-welcome-panel-widget-sidebar/custom-dashboard-welcome-panel-widget-sidebar.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 75% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Contributors: The plugin tags were not defined
- Plugin Name: Please specify the plugin name on the first line (
=== custom-dashboard-welcome-panel-widget-sidebar ===
) - Donate link: Please fix this invalid url: ""
- Contributors: Plugin contributors not specified
custom-dashboard-welcome-panel-widget-sidebar/custom-dashboard-welcome-panel-widget-sidebar.php Passed 13 tests
Analyzing the main PHP file in "Custom Dashboard Welcome Panel Widget Sidebar" version 0.6
140 characters long description:
This plugin registers a new sidebar widget to be used on the ADMIN SIDE ONLY. When active it replaces the WP Welcome Panel Dashboard Widget.
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
Good job! No executable or dangerous file extensions detected51 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 6 | 14 | 51 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin