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 gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼145.37ms] Passed 4 tests
An overview of server-side resources used by WP Dash Support
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 37.24 ▲16.93 |
Dashboard /wp-admin | 3.14 ▲0.08 | 41.12 ▼4.09 |
Posts /wp-admin/edit.php | 3.22 ▲0.11 | 42.77 ▼2.51 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.06 | 88.85 ▼573.74 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 33.56 ▼1.12 |
Dashboard Support /wp-admin/options-general.php?page=dash_support_settings | 3.11 | 33.66 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 1 new option
New WordPress options |
---|
_wpds_deferred_admin_notice |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Dash Support
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,821 ▲225 | 16.04 ▲0.44 | 10.37 ▼0.12 | 49.84 ▲1.32 |
Dashboard /wp-admin | 3,091 ▲157 | 6.07 ▲0.15 | 135.00 ▼12.61 | 117.34 ▲8.33 |
Posts /wp-admin/edit.php | 2,749 ▲10 | 2.72 ▲0.00 | 65.90 ▼1.06 | 95.32 ▲4.43 |
Add New Post /wp-admin/post-new.php | 1,625 ▲10 | 21.86 ▲0.43 | 268.36 ▼15.26 | 102.08 ▲0.48 |
Media Library /wp-admin/upload.php | 1,823 ▲16 | 5.05 ▼0.00 | 142.34 ▲1.59 | 114.56 ▲2.22 |
Dashboard Support /wp-admin/options-general.php?page=dash_support_settings | 1,971 | 7.67 | 161.60 | 133.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 1 option
- _wpds_deferred_admin_notice
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-dash-support/inc/class-init.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/wp-dash-support/templates/widget.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-dash-support/inc/class-dashboard.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-dash-support/inc/class-settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-dash-support/dashsupport.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-dash-support/lib/systemreport/system-snapshot-report.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-dash-support/inc/class-mail.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/wp-dash-support/templates/admin/settings.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: client support, developer tool, dashboard widget
wp-dash-support/dashsupport.php 92% from 13 tests
The entry point to "WP Dash Support" version 1.1.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-dash-support.php" instead of "dashsupport.php")
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
No dangerous file extensions were detected1,101 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 142 | 476 | 1,020 |
JavaScript | 1 | 15 | 0 | 61 |
CSS | 1 | 5 | 0 | 20 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 28.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 118.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 2 | 2.70% |
▷ Public methods | 73 | 98.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.35% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
No PNG images were found in this plugin