Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼10.61ms] Passed 4 tests
Server-side resources used by Basketball Widgets - Basketball Results & Rankings
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 44.76 ▲3.76 |
Dashboard /wp-admin | 3.40 ▲0.06 | 50.48 ▼17.28 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.23 ▼6.35 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 90.13 ▼18.28 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.84 ▼0.54 |
Customization /wp-admin/admin.php?page=wbs-widget-customize | 3.43 | 37.78 |
Basketball Widgets /wp-admin/admin.php?page=wbs-basket-scores-widget | 3.49 | 36.56 |
Server storage [IO: ▲0.07MB] [DB: ▲0.05MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_ce_bswidget_leagues |
wp_ce_bswidget_teams |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Basketball Widgets - Basketball Results & Rankings
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲85 | 14.20 ▼0.17 | 1.90 ▼0.17 | 43.82 ▲3.20 |
Dashboard /wp-admin | 2,225 ▲45 | 5.58 ▼0.07 | 82.33 ▼8.39 | 77.44 ▲39.05 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.01 ▲0.05 | 37.72 ▼0.18 | 34.37 ▼3.29 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 22.96 ▼0.25 | 768.80 ▲87.78 | 60.67 ▲10.48 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.26 ▲0.09 | 93.90 ▼25.55 | 74.18 ▲28.26 |
Customization /wp-admin/admin.php?page=wbs-widget-customize | 1,300 | 2.02 | 23.27 | 40.47 |
Basketball Widgets /wp-admin/admin.php?page=wbs-basket-scores-widget | 2,155 | 2.02 | 26.65 | 29.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=wbs-widget-customize
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wbs-widget-customize 155 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=wbs-widget-customize
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wbs-widget-customize 158 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=wbs-widget-customize
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wbs-widget-customize 165 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=wbs-widget-customize
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wbs-widget-customize 168 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=wbs-widget-customize
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wbs-widget-customize 175 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=wbs-widget-customize
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wbs-widget-customize 178 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #1, #2 in webeki-basketball-widgets-basketball-results-rankings/assets to your readme.txt
webeki-basketball-widgets-basketball-results-rankings/BasketScores-widget.php 85% from 13 tests
The primary PHP file in "Basketball Widgets - Basketball Results & Rankings" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("webeki-basketball-widgets-basketball-results-rankings.php" instead of "BasketScores-widget.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 204 characters long)
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
Good job! No executable or dangerous file extensions detected518 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 35 | 21 | 363 |
JavaScript | 1 | 17 | 0 | 115 |
CSS | 2 | 6 | 0 | 40 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 10 | 55.56% |
▷ Public methods | 13 | 72.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 27.78% |
Functions | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 0.86KB | 0.86KB | 0.23% |