78% html5-mp3-player-with-mp3-folder-feedburner-playlist

Code Review | HTML5 MP3 Player with Folder Feedburner Playlist Free

WordPress plugin HTML5 MP3 Player with Folder Feedburner Playlist Free scored78%from 54 tests.

About plugin

  • Plugin page: html5-mp3-player-...
  • Plugin version: 2.8.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.2
  • WordPress version: 6.3.1
  • First release: Apr 24, 2013
  • Latest release: May 10, 2019
  • Number of updates: 41
  • Update frequency: every 53.8 days
  • Top authors: svnlabs (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /24,222 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▼0.57MB] [CPU: ▼16.58ms] Passed 4 tests

An overview of server-side resources used by HTML5 MP3 Player with Folder Feedburner Playlist Free
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1237.67 ▼19.53
Dashboard /wp-admin3.42 ▲0.1253.44 ▲4.76
Posts /wp-admin/edit.php3.54 ▲0.1849.58 ▲1.17
Add New Post /wp-admin/post-new.php3.27 ▼2.6239.35 ▼50.09
Media Library /wp-admin/upload.php3.35 ▲0.1139.14 ▲2.14
Help /wp-admin/edit.php?post_type=html5tap&page=help3.3135.26
Genres /wp-admin/edit-tags.php?taxonomy=genres&post_type=html5tap3.3451.95
HTML5Tap /wp-admin/edit.php?post_type=html5tap3.3533.41
Add New /wp-admin/post-new.php?post_type=html5tap3.2635.28

Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for HTML5 MP3 Player with Folder Feedburner Playlist Free
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,838 ▲9214.42 ▲0.111.67 ▼0.0546.03 ▲5.24
Dashboard /wp-admin2,241 ▲565.77 ▲0.86101.82 ▼17.1441.37 ▼7.54
Posts /wp-admin/edit.php2,124 ▲352.06 ▲0.0737.42 ▼2.5835.73 ▲1.95
Add New Post /wp-admin/post-new.php1,562 ▲2923.27 ▲0.13671.35 ▼28.2176.46 ▼20.73
Media Library /wp-admin/upload.php1,426 ▲414.11 ▼0.07102.62 ▼2.2543.55 ▲0.30
Help /wp-admin/edit.php?post_type=html5tap&page=help9533.5585.7339.22
Genres /wp-admin/edit-tags.php?taxonomy=genres&post_type=html5tap1,3002.1335.4833.38
HTML5Tap /wp-admin/edit.php?post_type=html5tap1,0881.9932.1232.85
Add New /wp-admin/post-new.php?post_type=html5tap2,5947.69192.4975.43

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
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • 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
These errors were triggered by the plugin
  • 18 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=html5tap
    • > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
    • > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
    Undefined offset: 0
  • 18 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=html5tap
    • > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
    • > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
    Trying to get property 'guid' of non-object
  • 72 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=html5tap
    • > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
    • > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
    Trying to get property 'ID' of non-object
  • 18 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=html5tap
    • > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
    • > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
    Trying to get property 'post_title' of non-object
    • > GET request to /wp-admin/edit.php?post_type=html5tap
    • > Notice in wp-content/plugins/html5-mp3-player-with-mp3-folder-feedburner-playlist/html5tap.php+50
    Trying to get property 'post_type' of non-object
    • > GET request to /wp-admin/post-new.php?post_type=html5tap
    • > Notice in wp-content/plugins/html5-mp3-player-with-mp3-folder-feedburner-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-mp3-folder-feedburner-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-mp3-folder-feedburner-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-mp3-folder-feedburner-playlist/playlist.php+47
    Uninitialized string offset: 0

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 fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/html5-mp3-player-with-mp3-folder-feedburner-playlist/single.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

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 your attention:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Add New HTML5Tap Playlist), #2 (Input MP3 Source & hit Capture), #3 (Save & Get Shortcode for page / post), #4 (JSON API Information for Playlist)
You can look at the official readme.txt

html5-mp3-player-with-mp3-folder-feedburner-playlist/html5tap.php 85% from 13 tests

The main file in "HTML5 MP3 Player with Folder Feedburner Playlist Free" v. 2.8.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 148 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("html5-mp3-player-with-mp3-folder-feedburner-playlist.php" instead of "html5tap.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected681 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP649579610
JavaScript1221070
HTML1001

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions28
▷ Named functions28100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin