Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.03MB] [CPU: ▼11.39ms] Passed 4 tests
A check of server-side resources used by Support Email Dashboard Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.38 ▼4.01 |
Dashboard /wp-admin | 3.08 ▼0.22 | 26.93 ▼19.13 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.29 ▼2.59 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 84.73 ▼18.65 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.93 ▼3.75 |
Support Email Dashboard /wp-admin/options-general.php?page=support-email-dash-settings | 3.23 | 30.16 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Support Email Dashboard Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.63 ▼1.04 | 1.89 ▲0.24 | 41.73 ▲2.55 |
Dashboard /wp-admin | 2,210 ▲25 | 5.79 ▲0.88 | 130.62 ▲21.65 | 56.27 ▲15.37 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.01 ▼0.01 | 38.64 ▲3.99 | 35.23 ▲1.82 |
Add New Post /wp-admin/post-new.php | 1,541 ▲21 | 23.25 ▲0.07 | 669.18 ▼10.24 | 52.60 ▲4.49 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.02 | 93.66 ▼23.63 | 41.48 ▼7.49 |
Support Email Dashboard /wp-admin/options-general.php?page=support-email-dash-settings | 798 | 2.06 | 23.35 | 25.40 |
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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
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
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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/support-email-dashboard-widget/sed-options.php:176
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/support-email-dashboard-widget/sed-options.php:176
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2 in support-email-dashboard-widget/assets to your readme.txt
support-email-dashboard-widget/support-email-dashboard.php 92% from 13 tests
"Support Email Dashboard Widget" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("support-email-dashboard-widget.php" instead of "support-email-dashboard.php")
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
Success! There were no dangerous files found in this plugin182 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 48 | 39 | 182 |
PHP code Passed 2 tests
A brief analysis 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.26 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
There are no PNG files in this plugin