Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.43ms] Passed 4 tests
This is a short check of server-side resources used by Wp Dashboard Widgets Disable
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.82 ▼12.82 |
Dashboard /wp-admin | 3.42 ▲0.12 | 43.60 ▼3.74 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 43.98 ▼3.89 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 81.61 ▼5.28 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 33.23 ▲0.65 |
Dashboard Widgets Disable /wp-admin/options-general.php?page=wp-dashboard-widgets-disable_options | 3.26 | 29.24 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Wp Dashboard Widgets Disable
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲50 | 14.45 ▼0.30 | 1.88 ▼0.50 | 41.90 ▼2.36 |
Dashboard /wp-admin | 2,213 ▲28 | 4.90 ▼0.01 | 108.69 ▲2.12 | 39.39 ▼4.98 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.02 ▲0.02 | 39.85 ▲2.37 | 34.27 ▲1.62 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.06 ▼0.32 | 588.11 ▼62.85 | 47.18 ▼5.77 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.22 ▼0.02 | 97.71 ▼3.68 | 41.72 ▲0.06 |
Dashboard Widgets Disable /wp-admin/options-general.php?page=wp-dashboard-widgets-disable_options | 884 | 1.90 | 28.47 | 28.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-dashboard-widgets-disable_options
- > Notice in wp-content/plugins/wp-dashboard-widgets-disable/wp-dashboard-widgets-disable.php+373
Undefined property: WPDashboardWidgets::$pluginName
- > GET request to /wp-admin/options-general.php?page=wp-dashboard-widgets-disable_options
- > Notice in wp-content/plugins/wp-dashboard-widgets-disable/wp-dashboard-widgets-disable.php+375
Undefined variable: pluginName
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: hide dashboard widgets, wp dashboard widgets disable, dashboard widgets
wp-dashboard-widgets-disable/wp-dashboard-widgets-disable.php Passed 13 tests
The entry point to "Wp Dashboard Widgets Disable" version 1.0.0 is a PHP file that has certain tags in its header comment area
115 characters long description:
Control visibility of dashboard widgets with the easy to use interface, just select the widgets you'd like to hide.
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
Everything looks great! No dangerous files found in this plugin251 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 81 | 83 | 251 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 72.73% |
▷ Protected methods | 2 | 18.18% |
▷ Private methods | 1 | 9.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin