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.04MB] [CPU: ▼16.57ms] Passed 4 tests
This is a short check of server-side resources used by ML Responsive Audio player with playlist Shortcode
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 42.43 ▼5.29 |
Dashboard /wp-admin | 3.41 ▲0.10 | 36.57 ▼18.06 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 39.98 ▼13.49 |
Add New Post /wp-admin/post-new.php | 5.66 ▼0.23 | 84.57 ▼29.42 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 35.98 ▼1.19 |
MLR Audio /wp-admin/options-general.php?page=mlag | 3.39 | 34.32 |
Audio Elements /wp-admin/edit.php?post_type=ml_audio | 3.45 | 38.01 |
Audio Category /wp-admin/edit-tags.php?taxonomy=audio_category&post_type=ml_audio | 3.40 | 29.80 |
Add New /wp-admin/post-new.php?post_type=ml_audio | 3.47 | 47.56 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 7 new options
New WordPress options |
---|
mlag |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by ML Responsive Audio player with playlist Shortcode
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,962 ▲201 | 14.31 ▼0.06 | 15.71 ▲13.74 | 36.80 ▼4.85 |
Dashboard /wp-admin | 2,236 ▲59 | 5.66 ▲0.08 | 90.51 ▼1.59 | 38.98 ▼6.94 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 2.02 ▼0.02 | 39.46 ▲1.96 | 34.48 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,561 ▲33 | 23.17 ▲0.12 | 646.62 ▼9.48 | 66.29 ▲8.55 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.25 ▲0.08 | 98.00 ▼5.69 | 43.06 ▼2.31 |
MLR Audio /wp-admin/options-general.php?page=mlag | 2,218 | 3.47 | 95.70 | 29.14 |
Audio Elements /wp-admin/edit.php?post_type=ml_audio | 1,176 | 2.00 | 32.85 | 30.88 |
Audio Category /wp-admin/edit-tags.php?taxonomy=audio_category&post_type=ml_audio | 1,312 | 2.16 | 25.23 | 27.46 |
Add New /wp-admin/post-new.php?post_type=ml_audio | 1,895 | 3.75 | 66.60 | 30.65 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- mlag
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=ml_audio
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
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 take a closer look at the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mlr-audio/inc/audio_custom_style.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mlr-audio/inc/options.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/mlr-audio/mlr-audio.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mlr-audio/inc/audio.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #2, #3 in mlr-audio/assets to your readme.txt
mlr-audio/mlr-audio.php Passed 13 tests
The main PHP script in "ML Responsive Audio player with playlist Shortcode" version 0.2 is automatically included on every request by WordPress
69 characters long description:
This plugin provides an HTML5 Audio player for your wordpress theme..
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected5,855 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 23 | 23 | 1,642 |
JavaScript | 7 | 237 | 74 | 1,417 |
Sass | 13 | 19 | 22 | 928 |
LESS | 12 | 18 | 27 | 907 |
PHP | 4 | 191 | 152 | 547 |
SVG | 1 | 0 | 0 | 414 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 46 | |
▷ Named functions | 46 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/direction_grey.png | 1.56KB | 1.37KB | ▼ 12.62% |
css/images/volume.png | 0.67KB | 0.69KB | 0.00% |
css/images/direction.png | 1.55KB | 1.41KB | ▼ 8.99% |
css/images/volume_half.png | 0.56KB | 0.55KB | ▼ 1.22% |
css/images/volume_grey.png | 0.42KB | 0.41KB | ▼ 1.87% |