Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼0.58ms] Passed 4 tests
This is a short check of server-side resources used by Zen Dash
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.95 ▲0.16 |
Dashboard /wp-admin | 3.40 ▲0.09 | 50.84 ▲3.66 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 54.87 ▲10.04 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 87.11 ▼5.81 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.26 ▼0.34 |
Zen Dash /wp-admin/index.php?page=zendash | 3.29 | 65.31 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 33 new options
New WordPress options |
---|
zendash_widget9 |
zendash_version |
zendash_widget8 |
widget_recent-comments |
theysaidso_admin_options |
zendash_widget2 |
widget_recent-posts |
zendash_widget5 |
zendash_widget7 |
zendash_footer_wordpress |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Zen Dash
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲27 | 13.33 ▼1.22 | 1.62 ▼0.26 | 37.50 ▼7.27 |
Dashboard /wp-admin | 2,204 ▲13 | 4.87 ▼0.13 | 102.32 ▼0.89 | 33.23 ▼10.28 |
Posts /wp-admin/edit.php | 2,087 ▼2 | 1.99 ▲0.01 | 39.77 ▲2.68 | 33.05 ▲0.38 |
Add New Post /wp-admin/post-new.php | 1,532 ▼1 | 23.30 ▲0.02 | 604.37 ▼88.79 | 49.23 ▼2.01 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.33 ▲0.13 | 97.85 ▼6.67 | 39.94 ▼6.42 |
Zen Dash /wp-admin/index.php?page=zendash | 1,713 | 7.86 | 228.22 | 97.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zen-dash/zen-dash.php:36
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/index.php?page=zendash
- > Network (severe)
wp-content/plugins/zen-dash/images/ui-bg_flat_75_ffffff_40x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/index.php?page=zendash
- > Network (severe)
wp-content/plugins/zen-dash/images/ui-bg_highlight-soft_75_cccccc_1x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/index.php?page=zendash
- > Network (severe)
wp-content/plugins/zen-dash/images/ui-bg_glass_65_ffffff_1x400.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/index.php?page=zendash
- > Network (severe)
wp-content/plugins/zen-dash/images/ui-bg_glass_75_e6e6e6_1x400.png - Failed to load resource: the server responded with a status of 404 (Not 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
9 plugin tags: jetpack, clutter, menu item, update notifications, remove...
zen-dash/zen-dash.php Passed 13 tests
The main file in "Zen Dash" v. 1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
125 characters long description:
Disable dashbaord widgets, menu items and update notifications. Declutter your admin area with Feng Shui magic. Less is more.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,964 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 66 | 57 | 1,256 |
PHP | 2 | 144 | 160 | 705 |
JavaScript | 1 | 3 | 4 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 17 | |
▷ Named functions | 17 | 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
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/guru-header-2013.png | 33.72KB | 13.19KB | ▼ 60.90% |