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
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼5.70ms] Passed 4 tests
Analyzing server-side resources used by Dashly
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 46.66 ▲6.09 |
Dashboard /wp-admin | 3.42 ▲0.07 | 47.23 ▼11.78 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 44.77 ▼4.04 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 84.64 ▼7.50 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.13 ▲0.51 |
Dashly /wp-admin/plugins.php?page=dashly | 3.33 | 29.02 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 10 new options
New WordPress options |
---|
dashly_api_key |
widget_recent-comments |
dashly_auth_key |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
dashly_auth |
widget_recent-posts |
dashly_api_secret |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dashly
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.29 ▲0.08 | 1.83 ▲0.29 | 46.85 ▲7.50 |
Dashboard /wp-admin | 2,199 ▲25 | 5.63 ▲0.05 | 93.43 ▲5.68 | 41.99 ▲1.87 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.94 ▼0.02 | 33.64 ▼5.38 | 36.09 ▼7.29 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 18.37 ▼4.84 | 607.35 ▼43.84 | 73.51 ▲22.85 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.19 ▼0.01 | 99.01 ▼1.82 | 41.43 ▼6.04 |
Dashly /wp-admin/plugins.php?page=dashly | 869 | 2.04 | 24.12 | 39.16 |
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
- This plugin does not fully uninstall, leaving 10 options in the database
- dashly_auth
- dashly_api_secret
- widget_theysaidso_widget
- db_upgraded
- dashly_api_key
- can_compress_scripts
- widget_recent-posts
- dashly_auth_key
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/dashly/dashly.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/dashly/options.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: customer tracking, live chat, lead collection, chatbot, abandoned carts...
dashly/dashly.php 92% from 13 tests
The main PHP script in "Dashly" version 2.1.1 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 168 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin706 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 95 | 177 | 663 |
PO File | 1 | 10 | 10 | 43 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 51.50 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 5.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 24 | 100.00% |
▷ Public methods | 20 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 16.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin