Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲5.35MB] [CPU: ▲41.00ms] 75% from 4 tests
A check of server-side resources used by StreamCast - Radio Player for WordPress
Please take the time to fix the following items
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.35MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.89 ▲5.43 | 86.39 ▲41.25 |
Dashboard /wp-admin | 8.91 ▲5.61 | 93.52 ▲38.63 |
Posts /wp-admin/edit.php | 8.91 ▲5.56 | 93.20 ▲42.90 |
Add New Post /wp-admin/post-new.php | 10.71 ▲4.82 | 142.50 ▲41.22 |
Media Library /wp-admin/upload.php | 8.91 ▲5.68 | 90.73 ▲51.90 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.91 | 68.80 |
Server storage [IO: ▲5.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 357 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_accounts |
fs_debug_mode |
db_upgraded |
theysaidso_admin_options |
fs_active_plugins |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for StreamCast - Radio Player for WordPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲200 | 13.74 ▼0.88 | 18.57 ▲16.74 | 31.62 ▼16.43 |
Dashboard /wp-admin | 2,227 ▲50 | 5.54 ▼0.13 | 91.99 ▼0.72 | 42.71 ▼5.74 |
Posts /wp-admin/edit.php | 2,133 ▲36 | 2.01 ▼0.02 | 38.02 ▼0.86 | 45.47 ▲8.53 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 22.78 ▼0.60 | 611.37 ▼53.27 | 58.51 ▼2.98 |
Media Library /wp-admin/upload.php | 1,435 ▲38 | 4.09 ▼0.13 | 100.96 ▼8.07 | 42.66 ▼5.15 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,103 | 1.67 | 24.57 | 27.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/streamcast/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 9 options
- widget_theysaidso_widget
- widget_recent-comments
- fs_active_plugins
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- fs_debug_mode
- theysaidso_admin_options
- fs_accounts
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 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
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/streamcast/mimes/enable-mime-type.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/streamcast/admin/codestar-framework/metabox-free.php:477
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/streamcast/admin/inc/metabox-free.php:468
- > PHP Fatal error
Uncaught Error: Call to undefined function str_fs() in wp-content/plugins/streamcast/admin/whats-new.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/streamcast/public/shortcode-free.php:212
- > 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)
There were no browser issues 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
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5 in streamcast/assets to your readme.txt
streamcast/streamcast.php Passed 13 tests
This is the main PHP file of "StreamCast - Radio Player for WordPress" version 2.1.10, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
69 characters long description:
Play iceCast, Shoutcast, Radioco, Radionomy Live stream in Wordpress.
Code Analysis 97% from 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
No dangerous file extensions were detected68,798 lines of code in 279 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 210 | 11,549 | 18,769 | 48,834 |
PO File | 20 | 3,037 | 3,414 | 6,180 |
Sass | 15 | 952 | 3 | 4,811 |
JavaScript | 11 | 1,290 | 417 | 4,391 |
CSS | 20 | 286 | 483 | 4,366 |
Markdown | 1 | 68 | 0 | 214 |
SVG | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please tend to the following items
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 55.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 108 | |
▷ Abstract classes | 4 | 3.70% |
▷ Concrete classes | 104 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 1,507 | |
▷ Static methods | 238 | 15.79% |
▷ Public methods | 1,118 | 74.19% |
▷ Protected methods | 17 | 1.13% |
▷ Private methods | 372 | 24.68% |
Functions | 144 | |
▷ Named functions | 144 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 148 | |
▷ Global constants | 101 | 68.24% |
▷ Class constants | 47 | 31.76% |
▷ Public constants | 47 | 100.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
14 PNG files occupy 0.24MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/rewind.png | 2.85KB | 1.58KB | ▼ 44.45% |
public/images/on-air.png | 58.42KB | 29.72KB | ▼ 49.12% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
public/images/play.png | 3.07KB | 1.84KB | ▼ 39.94% |
public/images/default.png | 4.15KB | 2.66KB | ▼ 35.89% |