Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.57MB] [CPU: ▼14.74ms] Passed 4 tests
A check of server-side resources used by HTML5 SoundCloud Player with Playlist Free
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 41.46 ▲1.72 |
Dashboard /wp-admin | 3.42 ▲0.12 | 50.66 ▼2.37 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 48.97 ▲2.35 |
Add New Post /wp-admin/post-new.php | 3.27 ▼2.62 | 36.52 ▼56.32 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 34.64 ▼2.00 |
Help /wp-admin/edit.php?post_type=html5tap&page=help | 3.31 | 33.84 |
Add New /wp-admin/post-new.php?post_type=html5tap | 3.26 | 32.46 |
HTML5Tap /wp-admin/edit.php?post_type=html5tap | 3.35 | 34.10 |
Genres /wp-admin/edit-tags.php?taxonomy=genres&post_type=html5tap | 3.34 | 30.34 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by HTML5 SoundCloud Player with Playlist Free
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲67 | 14.74 ▲0.44 | 1.78 ▲0.07 | 43.73 ▲0.96 |
Dashboard /wp-admin | 2,241 ▲53 | 4.85 ▼1.03 | 103.27 ▲1.55 | 42.50 ▲1.76 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.04 ▲0.01 | 33.58 ▼1.68 | 35.07 ▼1.05 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 17.75 ▼5.48 | 659.77 ▼23.52 | 49.51 ▼6.66 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.28 ▲0.04 | 105.01 ▼34.50 | 47.57 ▼11.47 |
Help /wp-admin/edit.php?post_type=html5tap&page=help | 953 | 3.55 | 79.27 | 36.62 |
Add New /wp-admin/post-new.php?post_type=html5tap | 2,602 | 7.66 | 170.52 | 69.95 |
HTML5Tap /wp-admin/edit.php?post_type=html5tap | 1,088 | 2.01 | 31.03 | 28.87 |
Genres /wp-admin/edit-tags.php?taxonomy=genres&post_type=html5tap | 1,294 | 2.13 | 25.87 | 26.93 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=html5tap
- > Notice in wp-content/plugins/html5-soundcloud-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-soundcloud-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-soundcloud-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-soundcloud-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-soundcloud-player-with-playlist/html5tap.php+50
Trying to get property 'post_type' of non-object
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
Please take a closer look at 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-soundcloud-player-with-playlist/single.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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Add New HTML5Tap Playlist), #2 (Input MP3 Source & hit Capture), #3 (Save & Get Shortcode for page / post), #4 (JSON API Information for Playlist)
html5-soundcloud-player-with-playlist/html5tap.php 85% from 13 tests
The primary PHP file in "HTML5 SoundCloud Player with Playlist Free" version 2.8.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("html5-soundcloud-player-with-playlist.php" instead of "html5tap.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
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 overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
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 files were detected