Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼0.53ms] Passed 4 tests
This is a short check of server-side resources used by Music Player for Easy Digital Downloads
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.32 | 44.49 ▲3.28 |
Dashboard /wp-admin | 3.62 ▲0.31 | 49.68 ▼4.64 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 54.16 ▲5.39 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 96.86 ▼5.77 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 38.82 ▲5.02 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 49 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
installed_music-player-for-easy-digital-downloads |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Music Player for Easy Digital Downloads
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.17 ▼1.24 | 1.72 ▼0.35 | 44.79 ▲3.31 |
Dashboard /wp-admin | 2,206 ▲18 | 5.83 ▼0.05 | 96.91 ▼13.21 | 39.69 ▼4.66 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.00 | 37.53 ▼1.88 | 34.31 ▲0.15 |
Add New Post /wp-admin/post-new.php | 1,533 ▲16 | 23.42 ▲5.60 | 637.71 ▼11.55 | 44.75 ▼19.08 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.23 ▲0.05 | 95.36 ▼9.46 | 46.19 ▲0.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- installed_music-player-for-easy-digital-downloads
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/music-player-for-easy-digital-downloads/views/global_options.php
- > /wp-content/plugins/music-player-for-easy-digital-downloads/views/player_options.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/music-player-for-easy-digital-downloads/pagebuilders/siteorigin/siteorigin-eddmp/siteorigin-eddmp.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-player-for-easy-digital-downloads/banner.php:105
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/music-player-for-easy-digital-downloads/pagebuilders/beaverbuilder/eddmp/includes/frontend.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-player-for-easy-digital-downloads/widgets/playlist_widget.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-player-for-easy-digital-downloads/banner.php:105
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/music-player-for-easy-digital-downloads/pagebuilders/divi/divi.pb.php:2
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/music-player-for-easy-digital-downloads/pagebuilders/beaverbuilder/eddmp/eddmp.pb.php:2
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/music-player-for-easy-digital-downloads/pagebuilders/beaverbuilder/eddmp/eddmp.pb.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
music-player-for-easy-digital-downloads/eddmp.php 85% from 13 tests
The entry point to "Music Player for Easy Digital Downloads" version 1.1.3 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 235 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("music-player-for-easy-digital-downloads.php" instead of "eddmp.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 plugin3,585 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 290 | 120 | 2,457 |
JavaScript | 8 | 72 | 42 | 474 |
PO File | 1 | 141 | 157 | 376 |
HTML | 1 | 1 | 0 | 169 |
CSS | 5 | 8 | 1 | 89 |
JSON | 1 | 0 | 0 | 19 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview 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.39 |
Average class complexity | 39.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 268.00 |
Average method complexity | 4.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 3 | 3.66% |
▷ Public methods | 57 | 69.51% |
▷ Protected methods | 2 | 2.44% |
▷ Private methods | 23 | 28.05% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
15 PNG files occupy 0.14MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
views/assets/skin1_btn.png | 0.46KB | 0.37KB | ▼ 19.74% |
vendors/mejs-skins/controls-wmp.png | 5.38KB | 3.02KB | ▼ 43.93% |
views/assets/skin3.png | 7.53KB | 3.10KB | ▼ 58.81% |
feedback/screenshots/screen2.png | 12.18KB | 12.15KB | 0.29% |
views/assets/skin2_btn.png | 0.69KB | 0.46KB | ▼ 33.94% |