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.12MB] [CPU: ▼6.54ms] Passed 4 tests
Analyzing server-side resources used by Shoutcast and Icecast HTML5 Web Radio Player by YesStreaming.com
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 38.43 ▼3.21 |
Dashboard /wp-admin | 3.43 ▲0.12 | 44.30 ▼4.69 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 42.98 ▼3.02 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 80.28 ▼15.22 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 39.97 ▲3.25 |
All Radio Players /wp-admin/edit.php?post_type=yeshtml5_player_lite | 3.39 | 36.03 |
Add New Player /wp-admin/post-new.php?post_type=yeshtml5_player_lite | 3.41 | 44.16 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
widget_yes_html5_player_lite |
Browser metrics Passed 4 tests
Shoutcast and Icecast HTML5 Web Radio Player by YesStreaming.com: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲187 | 13.73 ▼0.68 | 6.87 ▲5.16 | 58.59 ▲13.93 |
Dashboard /wp-admin | 2,252 ▲81 | 5.83 ▲0.31 | 85.75 ▼13.73 | 62.32 ▲15.43 |
Posts /wp-admin/edit.php | 2,159 ▲56 | 2.25 ▲0.29 | 36.41 ▼3.01 | 59.45 ▲26.28 |
Add New Post /wp-admin/post-new.php | 1,406 ▼130 | 16.58 ▼1.54 | 565.71 ▼89.57 | 51.92 ▼19.19 |
Media Library /wp-admin/upload.php | 1,456 ▲53 | 4.36 ▲0.14 | 95.60 ▼4.78 | 63.07 ▲21.79 |
All Radio Players /wp-admin/edit.php?post_type=yeshtml5_player_lite | 1,128 | 2.15 | 32.27 | 49.24 |
Add New Player /wp-admin/post-new.php?post_type=yeshtml5_player_lite | 1,888 | 3.87 | 65.97 | 58.08 |
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
- widget_yes_html5_player_lite
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/shoutcast-and-icecast-html5-web-radio-player-by-yesstreaming-com/plugin2.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/shoutcast-and-icecast-html5-web-radio-player-by-yesstreaming-com/widgetClass.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=yeshtml5_player_lite
- > Javascript (severe) in unknown
/wp-admin/edit.php?post_type=yeshtml5_player_lite 44:21 Uncaught TypeError: Cannot read properties of undefined (reading 'noConflict')
- > GET request to /wp-admin/post-new.php?post_type=yeshtml5_player_lite
- > Javascript (severe) in unknown
/wp-admin/post-new.php?post_type=yeshtml5_player_lite 53:21 Uncaught TypeError: Cannot read properties of undefined (reading 'noConflict')
- > GET request to /wp-admin/post-new.php?post_type=yeshtml5_player_lite
- > Javascript (severe) in unknown
/wp-admin/post-new.php?post_type=yeshtml5_player_lite 392:49 Uncaught SyntaxError: Unexpected token ','
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Requires at least: Invalid version format
- Contributors: Plugin contributors not specified
shoutcast-and-icecast-html5-web-radio-player-by-yesstreaming-com/plugin2.php 92% from 13 tests
The primary PHP file in "Shoutcast and Icecast HTML5 Web Radio Player by YesStreaming.com" version 3.3 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("shoutcast-and-icecast-html5-web-radio-player-by-yesstreaming-com.php" instead of "plugin2.php")
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
There were no executable files found in this plugin1,769 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 356 | 185 | 1,448 |
PHP | 2 | 70 | 45 | 321 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin