Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.16ms] Passed 4 tests
Server-side resources used by Media Player Addons for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.56 ▼1.93 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.39 ▼3.60 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 53.20 ▼0.70 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 104.46 ▼7.00 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.05 ▼8.11 |
Server storage [IO: ▲1.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Media Player Addons for Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲19 | 13.32 ▼0.93 | 1.87 ▼0.43 | 40.38 ▼2.98 |
Dashboard /wp-admin | 2,225 ▲19 | 4.85 ▼0.00 | 107.73 ▼2.42 | 41.92 ▲3.73 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.03 ▼0.02 | 40.76 ▲0.80 | 37.28 ▲3.45 |
Add New Post /wp-admin/post-new.php | 1,548 ▲11 | 23.16 ▼0.25 | 712.26 ▼39.43 | 61.50 ▲7.15 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.23 ▼0.01 | 95.74 ▼15.05 | 43.18 ▼3.92 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function BMianAddon\\add_action() in wp-content/plugins/media-player-addons-for-elementor/plugin.php:174
- > 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 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: Please add descriptions for these screenshots #1, #2, #3, #4, #5 in media-player-addons-for-elementor/assets to your readme.txt
media-player-addons-for-elementor/media-player-addons.php 85% from 13 tests
The entry point to "Media Player Addons for Elementor" version 1.0.3 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("media-player-addons-for-elementor.php" instead of "media-player-addons.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Almost there! Just fix the following issues
- You should never include executable (binary) or otherwise dangerous files in your plugin
- .url - Internet Shortcut in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/media-player-addons-for-elementor/documentation/documentation.url
- .url - Internet Shortcut in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 436 | 972 | 2,082 |
JavaScript | 8 | 52 | 50 | 344 |
CSS | 3 | 2 | 2 | 85 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 3.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 84 | |
▷ Static methods | 1 | 1.19% |
▷ Public methods | 63 | 75.00% |
▷ Protected methods | 20 | 23.81% |
▷ Private methods | 1 | 1.19% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/sc/audio-control.png | 3.56KB | 2.96KB | ▼ 16.62% |
assets/sc/youtube_control.png | 4.60KB | 3.99KB | ▼ 13.39% |
assets/sc/art_sub.png | 3.22KB | 2.53KB | ▼ 21.44% |
assets/sc/control_size.png | 3.05KB | 2.96KB | ▼ 2.79% |
assets/sc/color.png | 7.18KB | 7.18KB | 0.01% |