Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.89MB] [CPU: ▼40.52ms] Passed 4 tests
A check of server-side resources used by WP 8tracks Radio
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 36.08 ▼8.95 |
Dashboard /wp-admin | 3.06 ▼0.25 | 23.02 ▼28.83 |
Posts /wp-admin/edit.php | 3.06 ▼0.30 | 23.36 ▼30.67 |
Add New Post /wp-admin/post-new.php | 3.06 ▼2.83 | 25.15 ▼93.63 |
Media Library /wp-admin/upload.php | 3.06 ▼0.17 | 27.60 ▼7.29 |
WP8tracks| Registration /wp-admin/options-general.php?page=wp8tracks_registration | 3.06 | 25.71 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
omni_plugin_on_list |
widget_wp8tracks-widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
omni_plugin_reason |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP 8tracks Radio
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.38 ▼0.06 | 1.63 ▼0.18 | 40.67 ▼5.61 |
Dashboard /wp-admin | 2,204 ▲27 | 5.57 ▼0.03 | 90.85 ▼11.42 | 44.31 ▼3.49 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.03 ▲0.04 | 38.55 ▲0.73 | 38.24 ▼0.20 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.10 ▲0.12 | 653.57 ▼2.80 | 53.25 ▼8.14 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.18 ▼0.06 | 98.82 ▼1.28 | 44.43 ▼5.20 |
WP8tracks| Registration /wp-admin/options-general.php?page=wp8tracks_registration | 853 | 2.00 | 23.33 | 30.16 |
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
The following items require your attention
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 9 options
- omni_plugin_reason
- can_compress_scripts
- widget_theysaidso_widget
- omni_plugin_on_list
- widget_recent-comments
- widget_wp8tracks-widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp8tracks_registration
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=wp8tracks_registration
- > Notice in wp-content/plugins/wp-8tracks-radio/wp8tracks.master.php+77
Undefined index: onlist
- > GET request to /wp-admin/options-general.php?page=wp8tracks_registration
- > Notice in wp-content/plugins/wp-8tracks-radio/wp8tracks.master.php+77
Undefined index: no
- > GET request to /wp-admin/options-general.php?page=wp8tracks_registration
- > Notice in wp-content/plugins/wp-8tracks-radio/wp8tracks.master.php+85
Undefined index: activate
- > GET request to /wp-admin/options-general.php?page=wp8tracks_registration
- > Notice in wp-content/plugins/wp-8tracks-radio/wp8tracks.master.php+85
Undefined index: activate_again
- > GET request to /wp-admin/options-general.php?page=wp8tracks_registration
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-8tracks-radio/wp8tracks.widgets.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-8tracks-radio/wp8tracks.master.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Screenshot #1 (The WP 8tracks Radio Widget.) image required
wp-8tracks-radio/wp8tracks.master.php 92% from 13 tests
The main file in "WP 8tracks 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: It is recommended to name the main PHP file as the plugin slug ("wp-8tracks-radio.php" instead of "wp8tracks.master.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin277 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 54 | 30 | 277 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 7.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected