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
- Install procedure had errors
- > Deprecated in wp-content/plugins/hitboxtv-widget/hitboxtv-widget.php+35
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼49.32ms] Passed 4 tests
This is a short check of server-side resources used by Hitbox.TV Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.35 ▼35.17 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.19 ▼40.29 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.35 ▼37.51 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.16 ▼84.30 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.38 ▼25.30 |
Hitbox.TV Widget /wp-admin/options-general.php?page=sthw-options | 2.05 | 6.08 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 10 new options
New WordPress options |
---|
sthw_hide_unknown |
db_upgraded |
widget_recent-posts |
sthw_cache_lifetime |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_st_hitbox_widget |
widget_recent-comments |
sthw_cache_enable |
Browser metrics Passed 4 tests
Hitbox.TV Widget: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.14 ▼1.53 | 1.81 ▲0.04 | 40.65 ▼9.93 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼1.00 | 103.47 ▼15.27 | 37.36 ▼6.71 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.16 ▲0.13 | 36.41 ▲1.35 | 33.57 ▼4.19 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.19 ▲5.68 | 587.71 ▼91.56 | 52.33 ▼2.27 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.21 ▲0.03 | 96.42 ▼5.07 | 42.53 ▼0.67 |
Hitbox.TV Widget /wp-admin/options-general.php?page=sthw-options | 816 | 2.06 | 22.76 | 27.78 |
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/hitboxtv-widget/hitboxtv-widget.php+35
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 10 options
- sthw_cache_enable
- widget_theysaidso_widget
- sthw_hide_unknown
- widget_recent-posts
- can_compress_scripts
- widget_st_hitbox_widget
- sthw_cache_lifetime
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=sthw-options
- > Deprecated in wp-content/plugins/hitboxtv-widget/hitboxtv-widget.php+35
Function create_function() is deprecated
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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/hitboxtv-widget/hitboxtv-widget.php:27
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/hitboxtv-widget/includes/widget.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: live, hitbox, widget, status, shortcode
hitboxtv-widget/hitboxtv-widget.php Passed 13 tests
The main file in "Hitbox.TV Widget" v. 1.6.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
24 characters long description:
Hitbox.TV status widget.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin418 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 71 | 71 | 347 |
PO File | 1 | 14 | 14 | 44 |
CSS | 1 | 8 | 0 | 27 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin