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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▲1.73ms] Passed 4 tests
Server-side resources used by WPRadio - Wordpress Radio Streaming Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 47.24 ▲6.09 |
Dashboard /wp-admin | 3.58 ▲0.27 | 47.59 ▼0.01 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 49.70 ▲1.81 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 90.05 ▲2.16 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 36.84 ▲2.96 |
Widgets /wp-admin/admin.php?page=wpradio_widgets | 3.53 | 35.14 |
Dashboard /wp-admin/admin.php?page=wpradio_dashboard | 3.56 | 34.46 |
Listeners /wp-admin/admin.php?page=wpradio_listeners | 3.52 | 32.46 |
Podcasts /wp-admin/admin.php?page=wpradio_podcasts | 3.52 | 42.36 |
Settings /wp-admin/admin.php?page=wpradio_settings | 3.46 | 31.52 |
Server storage [IO: ▲7.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 111 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
wpradio-general |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WPRadio - Wordpress Radio Streaming Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲78 | 14.25 ▼0.00 | 1.60 ▼0.09 | 36.19 ▼15.89 |
Dashboard /wp-admin | 2,233 ▲56 | 5.59 ▼0.10 | 82.93 ▼5.77 | 38.88 ▼1.94 |
Posts /wp-admin/edit.php | 2,135 ▲38 | 1.94 ▼0.04 | 39.82 ▲2.23 | 36.11 ▲2.93 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.09 ▼0.03 | 602.21 ▼61.89 | 49.94 ▼2.65 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.16 ▼0.07 | 94.44 ▼10.38 | 43.23 ▼3.69 |
Widgets /wp-admin/admin.php?page=wpradio_widgets | 2,758 | 5.16 | 167.37 | 92.24 |
Dashboard /wp-admin/admin.php?page=wpradio_dashboard | 3,311 | 5.04 | 100.41 | 38.37 |
Listeners /wp-admin/admin.php?page=wpradio_listeners | 2,176 | 4.16 | 67.20 | 40.03 |
Podcasts /wp-admin/admin.php?page=wpradio_podcasts | 2,426 | 4.23 | 65.75 | 40.64 |
Settings /wp-admin/admin.php?page=wpradio_settings | 825 | 2.00 | 26.68 | 26.97 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
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
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpradio_podcasts
- > Javascript (severe) in unknown
/wp-content/plugins/wpradio/Admin/js/wpradio-admin.js?ver=1.0.4 1:346177 Uncaught Error: Private token doesn't exists
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpradio_podcasts
- > Network (severe)
wp-content/plugins/wpradio/Admin/fonts/Inter-roman.var.woff2?v=3.15 - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpradio_podcasts
- > Network (severe)
wp-content/plugins/wpradio/Admin/fonts/Inter-italic.var.woff2?v=3.15 - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=wpradio_widgets
- > Network (severe)
https://widgets.cloud.caster.fm/player/?token=&frameId=2nstp&theme=light&color=7F3EE8 - Failed to load resource: the server responded with a status of 500 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
wpradio/wpradio.php 92% from 13 tests
The main PHP file in "WPRadio - Wordpress Radio Streaming Plugin" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: The domain path should use only dashes and lowercase characters ("/Languages")
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
Everything looks great! No dangerous files found in this plugin28,828 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 18,440 |
JavaScript | 26 | 1,489 | 1,492 | 7,023 |
PHP | 25 | 459 | 1,275 | 2,571 |
Sass | 6 | 91 | 0 | 471 |
PO File | 1 | 127 | 154 | 319 |
CSS | 1 | 2 | 1 | 3 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 6.82 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 9 | 15.52% |
▷ Public methods | 50 | 86.21% |
▷ Protected methods | 2 | 3.45% |
▷ Private methods | 6 | 10.34% |
Functions | 9 | |
▷ Named functions | 4 | 44.44% |
▷ Anonymous functions | 5 | 55.56% |
Constants | 16 | |
▷ Global constants | 11 | 68.75% |
▷ Class constants | 5 | 31.25% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin