Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.57MB] [CPU: ▼17.40ms] Passed 4 tests
A check of server-side resources used by HTML5 MP3 Player with Playlist Free
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 39.59 ▼3.63 |
Dashboard /wp-admin | 3.42 ▲0.12 | 47.81 ▼5.19 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 51.42 ▼0.74 |
Add New Post /wp-admin/post-new.php | 3.27 ▼2.62 | 38.06 ▼60.03 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 40.47 ▲3.00 |
Add New /wp-admin/post-new.php?post_type=html5tap | 3.26 | 35.23 |
Help /wp-admin/edit.php?post_type=html5tap&page=help | 3.31 | 34.33 |
HTML5Tap /wp-admin/edit.php?post_type=html5tap | 3.34 | 38.91 |
Genres /wp-admin/edit-tags.php?taxonomy=genres&post_type=html5tap | 3.34 | 36.58 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by HTML5 MP3 Player with Playlist Free
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲103 | 13.18 ▼1.11 | 1.56 ▼0.25 | 39.62 ▼5.31 |
Dashboard /wp-admin | 2,244 ▲62 | 5.90 ▲1.02 | 96.13 ▼10.29 | 37.50 ▼4.96 |
Posts /wp-admin/edit.php | 2,124 ▲56 | 2.05 ▲0.04 | 39.38 ▲4.25 | 36.28 ▲6.49 |
Add New Post /wp-admin/post-new.php | 1,570 ▲38 | 18.42 ▼4.70 | 609.16 ▼25.16 | 60.38 ▲5.53 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.21 ▼0.00 | 116.64 ▲11.74 | 53.89 ▲11.80 |
Add New /wp-admin/post-new.php?post_type=html5tap | 2,607 | 7.75 | 181.48 | 67.96 |
Help /wp-admin/edit.php?post_type=html5tap&page=help | 971 | 3.52 | 73.11 | 31.94 |
HTML5Tap /wp-admin/edit.php?post_type=html5tap | 1,085 | 1.99 | 35.31 | 30.51 |
Genres /wp-admin/edit-tags.php?taxonomy=genres&post_type=html5tap | 1,294 | 2.14 | 27.84 | 27.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=html5tap
- > Notice in wp-content/plugins/html5-mp3-player-with-playlist/html5tap.php+280
Undefined index: html5tapmeta_noncename
- > GET request to /wp-admin/post-new.php?post_type=html5tap
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- > GET request to /wp-admin/post-new.php?post_type=html5tap
- > Warning in wp-content/plugins/html5-mp3-player-with-playlist/playlist.php+37
count(): Parameter must be an array or an object that implements Countable
- > GET request to /wp-admin/post-new.php?post_type=html5tap
- > Notice in wp-content/plugins/html5-mp3-player-with-playlist/playlist.php+47
Undefined variable: mp3i
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=html5tap
- > Notice in wp-content/plugins/html5-mp3-player-with-playlist/playlist.php+47
Uninitialized string offset: 0
- > GET request to /wp-admin/edit.php?post_type=html5tap
- > Notice in wp-content/plugins/html5-mp3-player-with-playlist/html5tap.php+50
Trying to get property 'post_type' of non-object
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/html5-mp3-player-with-playlist/single.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (HTML5 MP3 Playlist Player), #2 (Add New HTML5Tap Playlist), #3 (Input MP3 Source & hit Capture), #4 (Save & Get Shortcode for page / post), #5 (JSON API Information for Playlist)
html5-mp3-player-with-playlist/html5tap.php 85% from 13 tests
Analyzing the main PHP file in "HTML5 MP3 Player with Playlist Free" version 3.0.0
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("html5-mp3-player-with-playlist.php" instead of "html5tap.php")
- Description: Keep the plugin description shorter than 140 characters (currently 148 characters long)
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
Good job! No executable or dangerous file extensions detected681 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 495 | 79 | 610 |
JavaScript | 1 | 22 | 10 | 70 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of 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.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 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
No PNG images were found in this plugin