Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/royal-seal-ent-radio-wrse/wrse.php+24
Methods with the same name as their class will not be constructors in a future version of PHP; wrseradiowidget has a deprecated constructor
Server metrics [RAM: ▼1.86MB] [CPU: ▼193.28ms] Passed 4 tests
This is a short check of server-side resources used by WRSE Radio
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.77 ▼0.94 | 6.03 ▼15.96 |
Dashboard /wp-admin | 1.79 ▼1.26 | 5.20 ▼43.09 |
Posts /wp-admin/edit.php | 1.79 ▼1.31 | 6.07 ▼40.79 |
Add New Post /wp-admin/post-new.php | 1.79 ▼3.64 | 4.99 ▼661.51 |
Media Library /wp-admin/upload.php | 1.79 ▼1.21 | 6.58 ▼27.74 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_wrseradiowidget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WRSE Radio
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.83 ▲0.22 | 13.05 ▲1.45 | 44.85 ▼3.38 |
Dashboard /wp-admin | 2,970 ▲39 | 5.94 ▼0.05 | 147.89 ▼2.50 | 101.50 ▼11.64 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 75.65 ▲3.86 | 83.67 ▲2.01 |
Add New Post /wp-admin/post-new.php | 1,672 ▲57 | 18.83 ▼2.62 | 414.02 ▲122.41 | 101.88 ▼4.95 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.03 ▲0.03 | 159.37 ▼12.10 | 110.71 ▲8.14 |
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 validation failed for this plugin
- > Deprecated in wp-content/plugins/royal-seal-ent-radio-wrse/wrse.php+24
Methods with the same name as their class will not be constructors in a future version of PHP; wrseradiowidget has a deprecated constructor
- The uninstall procedure has failed, leaving 1 option in the database
- widget_wrseradiowidget
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/royal-seal-ent-radio-wrse/wrse.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (20 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please add images for these screenshots: #1 (Adding Shortcode in Post/Page), #2 (Have a look at the player in Post/Page), #3 (In Widget), #4 (Have a look at the player in Sidebar)
royal-seal-ent-radio-wrse/wrse.php 92% from 13 tests
The main file in "WRSE Radio" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("royal-seal-ent-radio-wrse.php" instead of "wrse.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
Everything looks great! No dangerous files found in this plugin45 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 12 | 45 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin