Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/radio-widget-popular/Radio-Widget-Popular.php+18
Methods with the same name as their class will not be constructors in a future version of PHP; Radio_Widget_Popular has a deprecated constructor
Server metrics [RAM: ▼1.81MB] [CPU: ▼56.21ms] Passed 4 tests
An overview of server-side resources used by Radio Widget Popular
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.29 | 4.35 ▼53.42 |
Dashboard /wp-admin | 2.19 ▼1.11 | 6.38 ▼39.48 |
Posts /wp-admin/edit.php | 2.19 ▼1.16 | 6.30 ▼40.69 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.69 | 6.53 ▼91.25 |
Media Library /wp-admin/upload.php | 2.19 ▼1.03 | 5.11 ▼30.27 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_radio-widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Radio Widget Popular
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.58 | 4.60 ▲2.58 | 40.16 ▼8.01 |
Dashboard /wp-admin | 2,203 ▲15 | 5.79 ▲0.91 | 107.26 ▼1.72 | 40.03 ▲0.28 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.06 ▲0.03 | 40.76 ▲4.26 | 38.02 ▲3.13 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.29 ▼0.05 | 679.53 ▲12.31 | 57.54 ▲2.44 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.14 ▼0.05 | 98.65 ▼5.85 | 42.83 ▼5.27 |
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 did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/radio-widget-popular/Radio-Widget-Popular.php+18
Methods with the same name as their class will not be constructors in a future version of PHP; Radio_Widget_Popular has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- widget_radio-widget
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/radio-widget-popular/Radio-Widget-Popular.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 ([Вид полной версии плеера](https://radiola.audio/radio/widgets/screenshot1.jpg)), #2 ([Вид компактной версии плеера](https://radiola.audio/radio/widgets/screenshot2.jpg))
radio-widget-popular/Radio-Widget-Popular.php 92% from 13 tests
"Radio Widget Popular" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("radio-widget-popular.php" instead of "Radio-Widget-Popular.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin215 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 11 | 215 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 6.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin