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
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/playcz-top-radios/playcz-topradia.php+31
Methods with the same name as their class will not be constructors in a future version of PHP; PLAYCZ_TopRadia has a deprecated constructor
Server metrics [RAM: ▼1.88MB] [CPU: ▼56.12ms] Passed 4 tests
This is a short check of server-side resources used by PLAY.CZ Top Rádia
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.11 ▼1.36 | 9.47 ▼42.30 |
Dashboard /wp-admin | 2.13 ▼1.18 | 6.38 ▼41.72 |
Posts /wp-admin/edit.php | 2.13 ▼1.23 | 7.05 ▼44.28 |
Add New Post /wp-admin/post-new.php | 2.13 ▼3.76 | 6.06 ▼96.16 |
Media Library /wp-admin/upload.php | 2.13 ▼1.11 | 6.28 ▼27.95 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_itnewswidget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PLAY.CZ Top Rádia
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.74 ▲0.34 | 1.87 ▼0.18 | 44.79 ▲0.78 |
Dashboard /wp-admin | 2,206 ▲21 | 5.85 ▲0.96 | 105.50 ▼7.33 | 41.13 ▼3.16 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▲0.04 | 41.00 ▼0.18 | 34.76 ▼2.72 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 23.29 ▲5.79 | 667.75 ▲38.69 | 63.11 ▲5.90 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.18 ▼0.11 | 99.74 ▼24.99 | 43.24 ▼5.44 |
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
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/playcz-top-radios/playcz-topradia.php+31
Methods with the same name as their class will not be constructors in a future version of PHP; PLAYCZ_TopRadia has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_itnewswidget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/playcz-top-radios/playcz-topradia.php:31
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid URI: ""
playcz-top-radios/playcz-topradia.php 92% from 13 tests
The main PHP file in "PLAY.CZ Top Rádia" ver. 2.1.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("playcz-top-radios.php" instead of "playcz-topradia.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin236 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 56 | 37 | 178 |
CSS | 1 | 9 | 0 | 58 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 44.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 11.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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
2 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 46.35KB | 14.65KB | ▼ 68.40% |
screenshot-1.png | 34.58KB | 11.36KB | ▼ 67.15% |