Benchmarks
Plugin footprint 65% 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: ▲5.39MB] [CPU: ▲24.24ms] 75% from 4 tests
This is a short check of server-side resources used by Music Player for Elementor - Audio Player & Podcast Player
It is recommended to improve the following
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.39MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.21 ▲5.74 | 60.52 ▲19.40 |
Dashboard /wp-admin | 9.23 ▲5.92 | 70.07 ▲21.35 |
Posts /wp-admin/edit.php | 9.23 ▲5.87 | 80.56 ▲30.80 |
Add New Post /wp-admin/post-new.php | 9.89 ▲4.01 | 122.50 ▲25.40 |
Media Library /wp-admin/upload.php | 9.23 ▲6.00 | 67.75 ▲35.55 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 9.23 | 61.68 |
Server storage [IO: ▲7.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 255 new files
Database: no new tables, 11 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
fs_active_plugins |
theysaidso_admin_options |
mpfe_install_date |
fs_accounts |
widget_theysaidso_widget |
widget_recent-posts |
mpfe_already_shown_rate_notice |
... |
Browser metrics Passed 4 tests
Music Player for Elementor - Audio Player & Podcast Player: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲108 | 14.36 ▲0.01 | 1.63 ▼0.03 | 27.47 ▼15.55 |
Dashboard /wp-admin | 2,253 ▲73 | 5.78 ▲0.17 | 89.75 ▼7.51 | 44.75 ▲0.13 |
Posts /wp-admin/edit.php | 2,162 ▲62 | 2.17 ▲0.15 | 40.41 ▲1.86 | 40.49 ▲8.41 |
Add New Post /wp-admin/post-new.php | 1,577 ▲51 | 23.14 ▼0.71 | 675.17 ▲57.92 | 51.83 ▼8.13 |
Media Library /wp-admin/upload.php | 1,461 ▲61 | 4.20 ▼0.01 | 96.04 ▼9.28 | 45.72 ▲4.32 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,107 | 1.74 | 25.57 | 28.22 |
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
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/music-player-for-elementor/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 9 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- fs_accounts
- db_upgraded
- widget_recent-posts
- fs_active_plugins
- fs_debug_mode
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
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Base_Data_Control' not found in wp-content/plugins/music-player-for-elementor/classes/controls/mpfe-audio-chooser.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/music-player-for-elementor/classes/core/mpfe-plugin-menu-pages.php:490
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-player-for-elementor/classes/core/load-music-player-for-elementor.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-player-for-elementor/classes/core/load-elementor-widgets.php:138
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: mp3 player, podcast player, audio, audio player, music player...
music-player-for-elementor/music-player-for-elementor.php 92% from 13 tests
The main PHP script in "Music Player for Elementor - Audio Player & Podcast Player" version 1.7 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 165 characters long)
Code Analysis 97% from 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 plugin48,593 lines of code in 160 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 127 | 8,203 | 17,688 | 37,243 |
SVG | 3 | 0 | 0 | 9,546 |
CSS | 17 | 136 | 4 | 1,230 |
JavaScript | 6 | 93 | 63 | 552 |
XML | 1 | 3 | 0 | 16 |
JSON | 6 | 0 | 0 | 6 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 83.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 2 | 3.64% |
▷ Concrete classes | 53 | 96.36% |
▷ Final classes | 3 | 5.66% |
Methods | 1,317 | |
▷ Static methods | 200 | 15.19% |
▷ Public methods | 914 | 69.40% |
▷ Protected methods | 22 | 1.67% |
▷ Private methods | 381 | 28.93% |
Functions | 100 | |
▷ Named functions | 100 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 154 | |
▷ Global constants | 103 | 66.88% |
▷ Class constants | 51 | 33.12% |
▷ Public constants | 51 | 100.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
6 PNG files occupy 0.15MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
img/slide-star-rating.png | 4.98KB | 1.94KB | ▼ 61.07% |
img/icon-256x256.png | 5.88KB | 3.60KB | ▼ 38.83% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
img/compact-player-desktop.png | 109.13KB | 30.39KB | ▼ 72.15% |