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.02MB] [CPU: ▼7.26ms] Passed 4 tests
This is a short check of server-side resources used by Remove WP Dashboard Extra Widgets
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 33.29 ▼4.16 |
Dashboard /wp-admin | 3.23 ▼0.08 | 34.39 ▼16.05 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.11 ▼5.26 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.40 ▲0.84 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.39 ▼3.55 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Remove WP Dashboard Extra Widgets
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,893 ▼868 | 13.69 ▼0.91 | 1.51 ▼0.34 | 33.70 ▼9.82 |
Dashboard /wp-admin | 1,298 ▼876 | 5.10 ▼0.53 | 69.90 ▼28.96 | 35.78 ▼9.91 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.04 ▼0.00 | 34.76 ▼9.55 | 32.08 ▼8.51 |
Add New Post /wp-admin/post-new.php | 1,538 ▲11 | 18.49 ▼4.63 | 598.63 ▼70.85 | 63.86 ▲8.43 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.20 ▼0.01 | 94.62 ▼8.74 | 41.11 ▼4.26 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: dashboard, widgets, remove, admin
wp-remove-dashboard-extra-widgets/wp-remove-dashboard-extra-widgets.php Passed 13 tests
"Remove WP Dashboard Extra Widgets" version 2.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
98 characters long description:
Removes the WordPress dashboard widgets that are extra and useless i.e. plugins, wp blog news etc.
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 plugin23 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 5 | 0 | 13 |
PHP | 1 | 5 | 22 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin