Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▼7.11ms] Passed 4 tests
This is a short check of server-side resources used by MLL Audio Player MP3 Ajax
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 25.89 ▼16.46 |
Dashboard /wp-admin | 3.54 ▲0.24 | 45.37 ▼6.89 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 49.54 ▼2.46 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 95.85 ▼2.62 |
Media Library /wp-admin/upload.php | 3.46 ▲0.24 | 36.84 ▼1.66 |
Artists /wp-admin/edit.php?post_type=mllp_artist | 3.51 | 41.04 |
Add New /wp-admin/post-new.php?post_type=mllp_song | 3.67 | 50.94 |
MLL Player /wp-admin/options-general.php?page=MLLPlayer | 3.41 | 29.81 |
Add New /wp-admin/post-new.php?post_type=mllp_artist | 3.67 | 49.66 |
Albums /wp-admin/edit.php?post_type=mllp_album | 3.51 | 37.39 |
Add New /wp-admin/post-new.php?post_type=mllp_album | 3.67 | 50.65 |
Songs /wp-admin/edit.php?post_type=mllp_song | 3.51 | 37.50 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_mllp_widget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
MLL Audio Player MP3 Ajax: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,988 ▲253 | 14.25 ▼0.07 | 15.27 ▲13.58 | 39.45 ▼3.09 |
Dashboard /wp-admin | 2,293 ▲108 | 5.88 ▲0.07 | 111.60 ▲12.58 | 42.69 ▼1.73 |
Posts /wp-admin/edit.php | 2,180 ▲91 | 2.05 ▲0.01 | 41.68 ▲4.00 | 36.19 ▲3.81 |
Add New Post /wp-admin/post-new.php | 1,622 ▲108 | 18.29 ▲0.76 | 605.75 ▲12.37 | 56.73 ▲3.17 |
Media Library /wp-admin/upload.php | 1,479 ▲91 | 4.23 ▲0.08 | 98.16 ▼8.34 | 45.07 ▲4.05 |
Artists /wp-admin/edit.php?post_type=mllp_artist | 1,175 | 1.97 | 34.02 | 28.59 |
Add New /wp-admin/post-new.php?post_type=mllp_song | 2,554 | 7.65 | 178.04 | 62.94 |
MLL Player /wp-admin/options-general.php?page=MLLPlayer | 998 | 1.83 | 25.42 | 28.39 |
Add New /wp-admin/post-new.php?post_type=mllp_artist | 2,505 | 7.61 | 168.89 | 55.67 |
Albums /wp-admin/edit.php?post_type=mllp_album | 1,175 | 1.95 | 32.80 | 33.09 |
Add New /wp-admin/post-new.php?post_type=mllp_album | 2,557 | 7.89 | 156.26 | 57.91 |
Songs /wp-admin/edit.php?post_type=mllp_song | 1,175 | 1.95 | 32.26 | 30.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options detected upon uninstall: 7 options
- widget_mllp_widget
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
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
Please fix the following server-side errors
- 12 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=MLLPlayer
- > Notice in wp-content/plugins/music-let-loose-mp3-audio-player/inc/mll-options.php+113
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-let-loose-mp3-audio-player/inc/mll-shortcodes.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/music-let-loose-mp3-audio-player/mll-player.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-let-loose-mp3-audio-player/inc/mll-js-css-inc.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-let-loose-mp3-audio-player/inc/mll-options.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-let-loose-mp3-audio-player/inc/mll-controls.php:314
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-let-loose-mp3-audio-player/inc/mll-cpt.php:159
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== music-let-loose-mp3-audio-player ===
)
music-let-loose-mp3-audio-player/mll-player.php 92% from 13 tests
Analyzing the main PHP file in "MLL Audio Player MP3 Ajax" version 0.7
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("music-let-loose-mp3-audio-player.php" instead of "mll-player.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 detected6,949 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 1,653 | 1,052 | 5,725 |
PHP | 6 | 159 | 93 | 1,200 |
CSS | 1 | 1 | 0 | 24 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ 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 | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 76 | |
▷ Named functions | 76 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bck.png | 0.41KB | 0.27KB | ▼ 33.97% |
images/play.png | 0.89KB | 0.70KB | ▼ 20.90% |
images/pause.png | 0.79KB | 0.61KB | ▼ 23.71% |
images/fwd.png | 0.41KB | 0.27KB | ▼ 33.49% |