Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.02ms] Passed 4 tests
A check of server-side resources used by Soccer Widgets - Football Results & Rankings
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.74 ▼0.09 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.71 ▼6.25 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.54 ▼0.03 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.11 ▼1.69 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.36 ▲5.00 |
Soccer Widgets /wp-admin/admin.php?page=soccer-scores-widget | 3.37 | 31.09 |
Customization /wp-admin/admin.php?page=ss-widget-customize | 3.31 | 31.31 |
Server storage [IO: ▲0.04MB] [DB: ▲0.09MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 12 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_ce_sswidget_leagues |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Soccer Widgets - Football Results & Rankings: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 14.48 ▼0.11 | 1.74 ▼0.04 | 43.83 ▼0.56 |
Dashboard /wp-admin | 2,233 ▲45 | 5.85 ▲0.97 | 99.64 ▼16.58 | 65.99 ▲18.46 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 1.99 ▼0.02 | 38.49 ▲4.02 | 34.08 ▼1.21 |
Add New Post /wp-admin/post-new.php | 1,694 ▲180 | 22.68 ▲5.08 | 759.58 ▲81.21 | 62.47 ▲12.33 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.11 ▼0.13 | 102.24 ▼4.26 | 78.32 ▲32.15 |
Soccer Widgets /wp-admin/admin.php?page=soccer-scores-widget | 1,950 | 2.09 | 25.26 | 28.22 |
Customization /wp-admin/admin.php?page=ss-widget-customize | 1,254 | 1.68 | 27.57 | 38.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/webeki-soccer-scores/SoccerScores-widget.php:147
- > PHP Fatal error
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 browser errors
- > GET request to /wp-admin/admin.php?page=ss-widget-customize
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=ss-widget-customize 156 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=ss-widget-customize
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=ss-widget-customize 159 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=ss-widget-customize
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=ss-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=ss-widget-customize
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=ss-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=ss-widget-customize
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=ss-widget-customize 174 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=ss-widget-customize
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=ss-widget-customize 177 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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2 in webeki-soccer-scores/assets to your readme.txt
webeki-soccer-scores/SoccerScores-widget.php 85% from 13 tests
The main PHP script in "Soccer Widgets - Football Results & Rankings" version 1.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("webeki-soccer-scores.php" instead of "SoccerScores-widget.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 196 characters long)
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 plugin425 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 35 | 31 | 290 |
JavaScript | 1 | 13 | 2 | 95 |
CSS | 2 | 7 | 2 | 40 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.82 |
▷ 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 | 17 | |
▷ Static methods | 9 | 52.94% |
▷ Public methods | 12 | 70.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 29.41% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
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.81KB | 0.78KB | ▼ 3.61% |