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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.95ms] Passed 4 tests
This is a short check of server-side resources used by Scoreboard for HTML5 Games Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 34.96 ▼9.60 |
Dashboard /wp-admin | 3.39 ▲0.09 | 48.90 ▲3.32 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 50.07 ▼4.31 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 96.77 ▲2.81 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.54 ▲6.60 |
Filters /wp-admin/admin.php?page=sfhg_filters | 3.32 | 36.46 |
Quick Start /wp-admin/admin.php?page=sfhg_quickstart | 3.41 | 37.14 |
Games /wp-admin/admin.php?page=sfhg_games | 3.42 | 30.82 |
Scoreboard /wp-admin/admin.php?page=sfhg_scoreboard | 3.32 | 34.81 |
Server storage [IO: ▲0.74MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 27 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_sfhg_filter_scores |
wp_sfhg_settings |
wp_sfhg_filter_users |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
sfhg_scoreboard_settings |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Scoreboard for HTML5 Games Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲135 | 13.59 ▼0.81 | 1.64 ▼0.24 | 38.79 ▼10.48 |
Dashboard /wp-admin | 2,274 ▲83 | 5.30 ▲0.40 | 113.36 ▲8.50 | 41.79 ▼1.91 |
Posts /wp-admin/edit.php | 2,161 ▲69 | 2.43 ▲0.39 | 41.63 ▲3.69 | 34.94 ▲0.39 |
Add New Post /wp-admin/post-new.php | 1,575 ▲42 | 23.31 ▲0.12 | 662.37 ▼3.57 | 36.18 ▼14.70 |
Media Library /wp-admin/upload.php | 1,456 ▲68 | 4.58 ▲0.26 | 98.64 ▼21.15 | 43.14 ▼11.60 |
Filters /wp-admin/admin.php?page=sfhg_filters | 893 | 2.25 | 28.46 | 30.38 |
Quick Start /wp-admin/admin.php?page=sfhg_quickstart | 1,543 | 2.26 | 28.99 | 55.29 |
Games /wp-admin/admin.php?page=sfhg_games | 913 | 2.34 | 28.50 | 28.89 |
Scoreboard /wp-admin/admin.php?page=sfhg_scoreboard | 896 | 2.26 | 33.69 | 30.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 3 tables in the database
- wp_sfhg_settings
- wp_sfhg_filter_scores
- wp_sfhg_filter_users
- This plugin did not uninstall successfully, leaving 7 options in the database
- sfhg_scoreboard_settings
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=sfhg_games
- > Notice in wp-content/plugins/scoreboard-for-html5-game-lite/includes/game.php+321
Undefined variable: action_url
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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/scoreboard-for-html5-game-lite/includes/form-game.php:2
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: There are too many tags (12 tag instead of maximum 10)
scoreboard-for-html5-game-lite/scoreboard-for-html5-game-lite.php 92% from 13 tests
The main file in "Scoreboard for HTML5 Games Lite" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 308 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,135 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 120 | 95 | 1,029 |
JavaScript | 3 | 5 | 6 | 64 |
CSS | 2 | 6 | 0 | 42 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.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
There were not PNG files found in your plugin