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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.70ms] Passed 4 tests
A check of server-side resources used by DASHBOARD BUILDER - WordPress plugin for Charts and Graphs
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 45.12 ▲0.69 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.87 ▼23.41 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.61 ▼2.91 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 103.15 ▲12.04 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 37.54 ▼1.18 |
DashboardBuilder /wp-admin/options-general.php?page=DashboardBuilder | 3.27 | 38.46 |
Server storage [IO: ▲3.66MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for DASHBOARD BUILDER - WordPress plugin for Charts and Graphs
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲30 | 22.63 ▲7.89 | 113.24 ▲111.15 | 43.69 ▼2.66 |
Dashboard /wp-admin | 2,210 ▲4 | 4.84 ▼0.03 | 112.70 ▲0.34 | 45.90 ▲1.16 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 1.99 ▲0.03 | 35.21 ▼1.12 | 32.84 ▼0.14 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.33 ▲0.32 | 718.31 ▲12.71 | 54.90 ▼3.25 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.19 ▼0.05 | 95.44 ▼14.48 | 41.41 ▼10.49 |
DashboardBuilder /wp-admin/options-general.php?page=DashboardBuilder | 1,006 | 2.03 | 26.84 | 39.78 |
Uninstaller [IO: ✅] [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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 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
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/dashboard-builder/inc/dashboard_dist.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/dashboard-builder/dashboardbuilder-admin.php:94
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/dashboard-builder/dashboardbuilder.php:14
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #4, #5, #6, #7 in dashboard-builder/assets to your readme.txt
dashboard-builder/dashboardbuilder.php 85% from 13 tests
"DASHBOARD BUILDER - WordPress plugin for Charts and Graphs" version 1.5.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 303 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("dashboard-builder.php" instead of "dashboardbuilder.php")
Code Analysis 97% from 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 plugin314 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 66 | 17 | 312 |
HTML | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 194)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 265.00 |
▷ Minimum class complexity | 265.00 |
▷ Maximum class complexity | 265.00 |
Average method complexity | 67.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 194.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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
10 PNG files occupy 0.29MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-7.png | 8.43KB | 4.06KB | ▼ 51.85% |
assets/screenshot-6.png | 11.12KB | 4.96KB | ▼ 55.37% |
assets/screenshot-2.png | 13.91KB | 6.54KB | ▼ 53.00% |
assets/screenshot-5.png | 7.84KB | 3.78KB | ▼ 51.84% |
assets/screenshot-1.png | 8.38KB | 2.74KB | ▼ 67.36% |