Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.76ms] Passed 4 tests
An overview of server-side resources used by Quickdashboard
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.00 ▼4.70 |
Dashboard /wp-admin | 3.37 ▲0.07 | 49.34 ▲2.17 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 45.93 ▼7.06 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.32 ▼19.46 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.16 ▲0.20 |
Quickdashboard /wp-admin/options-general.php?page=quickdashboard/quickdashboard.php | 3.35 | 37.14 |
/wp-admin/index.php?page=quickdashboard | 3.26 | 37.27 |
Server storage [IO: ▲1.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 38 new files
Database: no new tables, 10 new options
New WordPress options |
---|
quick_custom_userid |
custom_dash_design |
widget_recent-comments |
custom_dash_setting_information |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
quick_admin_userid |
Browser metrics Passed 4 tests
Quickdashboard: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.22 ▼1.18 | 1.56 ▼0.22 | 44.43 ▲0.52 |
Dashboard /wp-admin | 2,216 ▲25 | 4.83 ▼1.05 | 113.61 ▲7.56 | 43.71 ▼0.55 |
Posts /wp-admin/edit.php | 2,099 ▲7 | 2.03 ▲0.00 | 38.55 ▼1.22 | 32.87 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,549 ▲28 | 17.94 ▼5.28 | 617.59 ▼46.69 | 55.01 ▲5.04 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.22 ▲0.01 | 97.22 ▼4.99 | 41.61 ▼3.56 |
Quickdashboard /wp-admin/options-general.php?page=quickdashboard/quickdashboard.php | 3,099 | 4.17 | 88.31 | 88.38 |
/wp-admin/index.php?page=quickdashboard | 778 | 2.03 | 21.96 | 17.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 10 options in the database
- quick_custom_userid
- theysaidso_admin_options
- widget_recent-comments
- custom_dash_setting_information
- can_compress_scripts
- db_upgraded
- quick_admin_userid
- widget_recent-posts
- widget_theysaidso_widget
- custom_dash_design
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/index.php?page=quickdashboard
- > Notice in wp-content/plugins/quickdashboard/quick-back.php+37
Undefined offset: 1
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/quickdashboard/index.php
- > /wp-content/plugins/quickdashboard/buttons.php
- 8× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/quickdashboard/quick-back.php on line 2
- > PHP Warning
require_once(ABSPATHwp-load.php): failed to open stream: No such file or directory in wp-content/plugins/quickdashboard/quick-back.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-load.php' (include_path='.:/usr/share/php') in wp-content/plugins/quickdashboard/quick-back.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/quickdashboard/admin/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/quickdashboard/dashicon.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/quickdashboard/admin/html/info.html.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/quickdashboard/admin/html/user.html.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/quickdashboard/admin/html.php:4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #3 is missing in quickdashboard/assets to your readme.txt
- Requires php: Invalid plugin version format
quickdashboard/quickdashboard.php 85% from 13 tests
"Quickdashboard" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin2,282 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 120 | 33 | 953 |
CSS | 6 | 10 | 13 | 885 |
JavaScript | 3 | 30 | 19 | 257 |
PO File | 1 | 229 | 528 | 164 |
SVG | 3 | 0 | 0 | 23 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/QB-Logo.png | 1.26KB | 1.17KB | ▼ 7.13% |
img/QB-Logo-Text.png | 50.83KB | 14.43KB | ▼ 71.62% |