Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.48ms] Passed 4 tests
An overview of server-side resources used by User Dashboard For Easy Digital Downloads
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.99 ▲2.20 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.96 ▼10.25 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.28 ▲0.75 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.48 ▼10.09 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.55 ▼2.33 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by User Dashboard For Easy Digital Downloads
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.63 ▼0.56 | 4.33 ▲2.74 | 39.77 ▼3.51 |
Dashboard /wp-admin | 2,209 ▲18 | 5.84 ▲0.93 | 93.86 ▼7.75 | 36.60 ▼1.69 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.03 | 40.49 ▲4.15 | 34.02 ▲2.07 |
Add New Post /wp-admin/post-new.php | 1,533 ▲4 | 23.22 ▼0.21 | 683.84 ▲46.92 | 55.81 ▼11.38 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.19 ▼0.06 | 93.39 ▼2.34 | 43.32 ▼1.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/user-dashboard-for-easy-digital-downloads/uninstall.php+33
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
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)
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 15× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/user-dashboard-for-easy-digital-downloads/admin/dashboard/dashboard-template.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/user-dashboard-for-easy-digital-downloads/public/shortcodes/shortcode-dashboard.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/user-dashboard-for-easy-digital-downloads/templates/dashboard.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function edd_get_users_purchases() in wp-content/plugins/user-dashboard-for-easy-digital-downloads/templates/downloads-history.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/user-dashboard-for-easy-digital-downloads/public/shortcodes/shortcode-login.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/user-dashboard-for-easy-digital-downloads/templates/purchased-items.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/user-dashboard-for-easy-digital-downloads/templates/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/user-dashboard-for-easy-digital-downloads/admin/dashboard/class-user-dashboard-for-edd-template.php:155
- > PHP Fatal error
Uncaught Error: Call to undefined function ud_for_edd_custom_html_login_form() in wp-content/plugins/user-dashboard-for-easy-digital-downloads/templates/form-login.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/user-dashboard-for-easy-digital-downloads/admin/account/login-functions.php:185
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: A description for screenshot #2 is missing in user-dashboard-for-easy-digital-downloads/assets to your readme.txt
user-dashboard-for-easy-digital-downloads/user-dashboard-for-edd.php 85% from 13 tests
"User Dashboard For Easy Digital Downloads" version 0.20.10's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: The principal plugin file should be the same as the plugin slug ("user-dashboard-for-easy-digital-downloads.php" instead of "user-dashboard-for-edd.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
No dangerous file extensions were detected2,686 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 363 | 506 | 1,632 |
CSS | 2 | 126 | 15 | 859 |
SVG | 1 | 0 | 0 | 119 |
JavaScript | 2 | 9 | 6 | 76 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 4.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 42 | 97.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.33% |
Functions | 61 | |
▷ Named functions | 60 | 98.36% |
▷ Anonymous functions | 1 | 1.64% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/websiteguider_logo.png | 4.88KB | 3.61KB | ▼ 26.00% |