Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.91MB] [CPU: ▼37.41ms] Passed 4 tests
A check of server-side resources used by Shoutcast Icecast HTML5 Radio Player
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 33.74 ▼4.76 |
Dashboard /wp-admin | 3.03 ▼0.27 | 21.43 ▼32.45 |
Posts /wp-admin/edit.php | 3.04 ▼0.32 | 25.41 ▼22.77 |
Add New Post /wp-admin/post-new.php | 3.03 ▼2.85 | 22.69 ▼82.63 |
Media Library /wp-admin/upload.php | 3.03 ▼0.19 | 19.25 ▼11.79 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 14 new options
New WordPress options |
---|
shoutcast-icecast-html5-player-radiolink |
widget_recent-comments |
widget_theysaidso_widget |
shoutcast-icecast-html5-player-twitter |
shoutcast-icecast-html5-player-bcolor |
db_upgraded |
shoutcast-icecast-html5-player-facebook |
theysaidso_admin_options |
can_compress_scripts |
shoutcast-icecast-html5-player-title |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Shoutcast Icecast HTML5 Radio Player
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.31 ▼0.98 | 4.97 ▲3.29 | 41.41 ▼0.41 |
Dashboard /wp-admin | 2,213 ▲42 | 4.84 ▼0.05 | 106.04 ▼8.72 | 40.74 ▼0.47 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.03 | 39.68 ▼0.03 | 36.88 ▲2.70 |
Add New Post /wp-admin/post-new.php | 1,517 ▼17 | 17.86 ▼5.31 | 670.10 ▲30.67 | 68.48 ▲17.79 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.04 | 106.53 ▲11.42 | 47.67 ▲1.14 |
Shoutcast Icecast HTML5 Radio Player Options /wp-admin/shoutcast-icecast-html5-radio-player.php | 26 | 0.44 | 0.10 | 16.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Shoutcast_Icecast_HTML5_Player::add_config_page() should not be called statically
- Zombie WordPress options were found after uninstall: 14 options
- shoutcast-icecast-html5-player-image
- shoutcast-icecast-html5-player-radiolink
- widget_recent-posts
- shoutcast-icecast-html5-player-twitter
- shoutcast-icecast-html5-player-facebook
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- shoutcast-icecast-html5-player-bcolor
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/shoutcast-icecast-html5-radio-player.php
- > Network (severe)
wp-admin/shoutcast-icecast-html5-radio-player.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (HTML5 MP3 Radio FM MP3 Stream Player), #2 (HTML5 MP3 Radio FM MP3 Stream Player Settings)
shoutcast-icecast-html5-radio-player/shoutcast-icecast-html5-radio-player.php Passed 13 tests
The primary PHP file in "Shoutcast Icecast HTML5 Radio Player" version 2.1.6 is used by WordPress to initiate all plugin functionality
136 characters long description:
HTML5 MP3 Radio FM MP3 Stream Player can grab "Now Playing Song Information" on player as StreamTitle for Shoutcast and Icecast Streams.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected250 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 193 | 34 | 249 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 6.50 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 11.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin